harmony 鸿蒙OH_Drawing_RunBuffer
OH_Drawing_RunBuffer
Overview
The OH_Drawing_RunBuffer struct describes a run, which provides storage for glyphs and positions.
Since: 11
Related module: Drawing
Header file: drawing_text_blob.h
Summary
Member Variables
Name | Description |
---|---|
uint16_t * glyphs | Storage for glyph indexes in the run. |
float * pos | Storage for glyph positions in the run. |
char * utf8text | Storage for UTF-8 encoded text units in the run. |
uint32_t * clusters | Storage for glyph clusters (index of the UTF-8 encoded text unit) in the run. |
Member Variable Description
clusters
uint32_t* OH_Drawing_RunBuffer::clusters
Description
Storage for glyph clusters (index of the UTF-8 encoded text unit) in the run.
glyphs
uint16_t* OH_Drawing_RunBuffer::glyphs
Description
Storage for glyph indexes in the run.
pos
float* OH_Drawing_RunBuffer::pos
Description
Storage for glyph positions in the run.
utf8text
char* OH_Drawing_RunBuffer::utf8text
Description
Storage for UTF-8 encoded text units in the run.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙DisplaySoloist_ExpectedRateRange
harmony 鸿蒙NativeColorSpaceManager
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦