Skip to main content

OH_Drawing_FontSetEmbeddedBitmaps

Function OH_Drawing_FontSetEmbeddedBitmaps 

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

@brief Sets whether to use bitmaps in a font. This API may return an error code. For details, call {@link OH_Drawing_ErrorCodeGet}. If font is NULL, OH_DRAWING_ERROR_INVALID_PARAMETER is returned.

@param font Pointer to the {@link OH_Drawing_Font} object. @param isEmbeddedBitmaps Whether to use bitmaps in the font. The value true means to use bitmaps in the font, and false means the opposite. @since 12 @version 1.0