Skip to main content

OH_Drawing_FontIsLinearText

Function OH_Drawing_FontIsLinearText 

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

@brief Checks whether linear scaling is used for a font object. 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. @return Returns true if linear scaling is used; returns false otherwise. @since 12 @version 1.0