Skip to main content

OH_Drawing_TextStyleGetFontHeight

Function OH_Drawing_TextStyleGetFontHeight 

Source
pub unsafe extern "C" fn OH_Drawing_TextStyleGetFontHeight(
    style: *mut OH_Drawing_TextStyle,
) -> f64
Expand description

@brief Obtains the font height of a text style.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Pointer to the {@link OH_Drawing_TextStyle} object, which is obtained from {@link OH_Drawing_CreateTextStyle}. @return Font height of a text style. @since 12 @version 1.0