Skip to main content

OH_Drawing_TextBlobCreateFromString

Function OH_Drawing_TextBlobCreateFromString 

Source
pub unsafe extern "C" fn OH_Drawing_TextBlobCreateFromString(
    str_: *const c_char,
    font: *const OH_Drawing_Font,
    textEncoding: OH_Drawing_TextEncoding,
) -> *mut OH_Drawing_TextBlob
Expand description

@brief Creates an OH_Drawing_TextBlob object from pos text.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param str Indicates the the pointer to text. @param font Indicates the pointer to an OH_Drawing_Font object. @param textEncoding Indicates the pointer to an OH_Drawing_TextEncoding object. @return Returns the pointer to the OH_Drawing_TextBlob object created. @since 12 @version 1.0