pub unsafe extern "C" fn OH_Drawing_FontCountText(
font: *mut OH_Drawing_Font,
text: *const c_void,
byteLength: usize,
encoding: OH_Drawing_TextEncoding,
) -> c_intExpand description
@brief Calculate number of glyphs represented by text.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param font Indicates the pointer to an OH_Drawing_Font object. @param text Indicates the character storage encoded with text encoding. @param byteLength Indicates the text length in bytes. @param encoding Indicates the text encoding. @since 12 @version 1.0