harmony 鸿蒙drawing_register_font.h
drawing_register_font.h
Overview
The drawing_register_font.h file declares the functions related to the font manager in the drawing module.
File to include: <native_drawing/drawing_register_font.h>
Library: libnative_drawing.so
Since: 11
Related module: Drawing
Summary
Functions
Name | Description |
---|---|
uint32_t OH_Drawing_RegisterFont (OH_Drawing_FontCollection*, const char* fontFamily, const char* familySrc) | Registers a custom font with the font manager. The supported font file formats are .ttf and .otf. |
uint32_t OH_Drawing_RegisterFontBuffer (OH_Drawing_FontCollection*, const char* fontFamily, uint8_t* fontBuffer, size_t length) | Registers a font buffer with the font manager. |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙DisplaySoloist_ExpectedRateRange
harmony 鸿蒙NativeColorSpaceManager
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦