harmony 鸿蒙drawing_font_collection.h
drawing_font_collection.h
Overview
The drawing_font_collection.h file declares the functions related to the font collection in the drawing module.
File to include: <native_drawing/drawing_font_collection.h>
Library: libnative_drawing.so
Since: 8
Related module: Drawing
Summary
Functions
Name | Description |
---|---|
OH_Drawing_FontCollection * OH_Drawing_CreateFontCollection (void) | Creates an OH_Drawing_FontCollection object. The OH_Drawing_FontCollection object created by this function can be used by only one OH_Drawing_TypographyCreate object. To share an OH_Drawing_FontCollection object among multiple OH_Drawing_TypographyCreate objects, use OH_Drawing_CreateSharedFontCollection to create it. |
void OH_Drawing_DestroyFontCollection (OH_Drawing_FontCollection *) | Destroys an OH_Drawing_FontCollection object and reclaims the memory occupied by the object. |
void OH_Drawing_DisableFontCollectionFallback (OH_Drawing_FontCollection *fontCollection) | Disables the system fonts. |
void OH_Drawing_DisableFontCollectionSystemFont (OH_Drawing_FontCollection *fontCollection) | Disables the system fonts. |
OH_Drawing_FontCollection * OH_Drawing_CreateSharedFontCollection (void) | Creates an OH_Drawing_FontCollection object that is shareable. |
void OH_Drawing_ClearFontCaches (OH_Drawing_FontCollection *) | Clears the font cache. (The font cache has a memory limit and a clearing mechanism. It occupies limited memory. You are not advised to clear it unless otherwise required.) |
OH_Drawing_FontCollection * OH_Drawing_GetFontCollectionGlobalInstance (void) | Obtains the global OH_Drawing_FontCollection object, which can be used to sense the theme font information. Do not release the object. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙DisplaySoloist_ExpectedRateRange
harmony 鸿蒙NativeColorSpaceManager
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦