Skip to main content

OH_Drawing_FontIsFakeBoldText

Function OH_Drawing_FontIsFakeBoldText 

Source
pub unsafe extern "C" fn OH_Drawing_FontIsFakeBoldText(
    font: *const OH_Drawing_Font,
) -> bool
Expand description

@brief Gets whether to increase the stroke width to approximate bold fonts.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param font Indicates the pointer to an OH_Drawing_Font object. @return Returns true to increase the stroke width to approximate bold fonts; returns false otherwise. @since 12 @version 1.0