Skip to main content

OH_Drawing_FontSetScaleX

Function OH_Drawing_FontSetScaleX 

Source
pub unsafe extern "C" fn OH_Drawing_FontSetScaleX(
    font: *mut OH_Drawing_Font,
    scaleX: f32,
)
Expand description

@brief Sets text scale on x-axis for an OH_Drawing_Font object.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param font Indicates the pointer to an OH_Drawing_Font object. @param scaleX Indicates the text horizontal scale. @since 12 @version 1.0