Skip to main content

OH_Drawing_FontSetSubpixel

Function OH_Drawing_FontSetSubpixel 

Source
pub unsafe extern "C" fn OH_Drawing_FontSetSubpixel(
    font: *mut OH_Drawing_Font,
    isSubpixel: bool,
)
Expand description

@brief Sets whether the font uses sub-pixel rendering.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param font Indicates the pointer to an OH_Drawing_Font object. @param isSubpixel Indicates whether the font uses sub-pixel rendering. @since 12 @version 1.0