Skip to main content

OH_Drawing_TypographyTextlineStyleGetHeightScale

Function OH_Drawing_TypographyTextlineStyleGetHeightScale 

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

@brief Get the font height scale in text layout.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param style Indicates the pointer to a typography style object OH_Drawing_TypographyStyle. @return Retrun the font height scale in text layout. @since 12 @version 1.0