Skip to main content

OH_Drawing_FontParserGetSystemFontList

Function OH_Drawing_FontParserGetSystemFontList 

Source
pub unsafe extern "C" fn OH_Drawing_FontParserGetSystemFontList(
    fontParser: *mut OH_Drawing_FontParser,
    num: *mut usize,
) -> *mut *mut c_char
Expand description

@brief Obtains the list of system font names. When the list is no longer needed, use {@link OH_Drawing_DestroySystemFontList} to release the memory. This API is supported only on phones and PC/2-in-1 devices.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param fontParser Pointer to the {@link OH_Drawing_FontParser} object, which is obtained from {@link OH_Drawing_CreateFontParser}. @param num Pointer to the number of system font names. @return System font list. @since 12 @version 1.0