Skip to main content

OH_Drawing_TextStyleGetFontMetrics

Function OH_Drawing_TextStyleGetFontMetrics 

Source
pub unsafe extern "C" fn OH_Drawing_TextStyleGetFontMetrics(
    typography: *mut OH_Drawing_Typography,
    style: *mut OH_Drawing_TextStyle,
    fontmetrics: *mut OH_Drawing_Font_Metrics,
) -> bool
Expand description

@brief get line fontmetrics.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param typography Indicates the pointer to a typography object OH_Drawing_Typography. @param style Indicates the pointer to a text style object OH_Drawing_TextStyle. @param fontmetrics Indicates the pointer to a font metrics object OH_Drawing_Font_Metrics. @return Whether the font metrics was obtained. @since 12 @version 1.0