pub unsafe extern "C" fn OH_Drawing_FontSetLinearText(
font: *mut OH_Drawing_Font,
isLinearText: bool,
)Expand description
@brief Sets linear scaling for 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 an OH_Drawing_Font object. @param isLinearText Whether to enable linear scaling. The value true means to enable linear scaling, and *false
- means the opposite. @since 11 @version 1.0