pub unsafe extern "C" fn OH_Drawing_TextStyleGetFontMetrics(
typography: *mut OH_Drawing_Typography,
style: *mut OH_Drawing_TextStyle,
fontmetrics: *mut OH_Drawing_Font_Metrics,
) -> boolExpand description
@brief Obtains the font metrics of a text style.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param typography Pointer to the {@link OH_Drawing_Typography} object, which is obtained from {@link OH_Drawing_CreateTypography}. @param style Pointer to the {@link OH_Drawing_TextStyle} object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @param fontmetrics Pointer to the {@link OH_Drawing_Font_Metrics} object, which is obtained from {@link OH_Drawing_Font_Metrics}. @return Whether the font attributes are obtained. true means yes; false otherwise. @since 12 @version 1.0