pub unsafe extern "C" fn OH_Drawing_FontSetTextSize(
font: *mut OH_Drawing_Font,
textSize: f32,
)Expand description
@brief Sets the text size 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 an OH_Drawing_Font object. @param textSize Text size. The value is a floating point number. If a negative number is passed in, the size is set to 0. If the size is 0, the text drawn will not be displayed. @since 11 @version 1.0