pub unsafe extern "C" fn OH_Drawing_CreateFontCollection() -> *mut OH_Drawing_FontCollectionExpand description
@brief Creates an {@link OH_Drawing_FontCollection} object.
@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @return Pointer to the created font collection object. The font collection pointer object created by this function can only be used by one {@link OH_Drawing_TypographyCreate} object and does not support shared use among multiple OH_Drawing_TypographyCreate objects. To share the same OH_Drawing_FontCollection among multiple OH_Drawing_TypographyCreate objects, use the {@link OH_Drawing_CreateSharedFontCollection} function to create the OH_Drawing_FontCollection object. @since 8 @version 1.0