Skip to main content

OH_Drawing_CreateFontDescriptor

Function OH_Drawing_CreateFontDescriptor 

Source
pub unsafe extern "C" fn OH_Drawing_CreateFontDescriptor() -> *mut OH_Drawing_FontDescriptor
Expand description

@brief Constructs a font descriptor object for describing detailed information about a system font. When the {@link OH_Drawing_FontDescriptor} is no longer needed, use {@link OH_Drawing_DestroyFontDescriptor} to release the pointer to the object.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @return Pointer to the created {@link OH_Drawing_FontDescriptor} object. @since 12 @version 1.0