Skip to main content

OH_Drawing_CreateTypography

Function OH_Drawing_CreateTypography 

Source
pub unsafe extern "C" fn OH_Drawing_CreateTypography(
    handler: *mut OH_Drawing_TypographyCreate,
) -> *mut OH_Drawing_Typography
Expand description

@brief Creates an OH_Drawing_Typography object. Release this pointer by calling {@link OH_Drawing_DestroyTypography} when this object is no longer needed.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param handler Pointer to the {@link OH_Drawing_TypographyCreate} object, which is obtained from {@link OH_Drawing_CreateTypographyHandler}. @return Pointer to the OH_Drawing_Typography object created. @since 8 @version 1.0