Skip to main content

OH_Drawing_TypographyUpdateFontSize

Function OH_Drawing_TypographyUpdateFontSize 

Source
pub unsafe extern "C" fn OH_Drawing_TypographyUpdateFontSize(
    typography: *mut OH_Drawing_Typography,
    from: usize,
    to: usize,
    fontSize: f32,
)
Expand description

@brief Update the font size of lines in a text.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param typography Indicates the pointer to the text OH_Drawing_Typography object. @param from Indicates the source of the original font size. @param to Indicates the destination of the updated font size. @param fontSize Indicates the size of the font. @since 12 @version 1.0