• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OH_Drawing_RunBuffer
2
3
4## Overview
5
6The OH_Drawing_RunBuffer struct describes a run, which provides storage for glyphs and positions.
7
8**Since**: 11
9
10**Related module**: [Drawing](_drawing.md)
11
12**Header file**: [drawing_text_blob.h](drawing__text__blob_8h.md)
13
14## Summary
15
16
17### Member Variables
18
19| Name| Description|
20| -------- | -------- |
21| uint16_t \* [glyphs](#glyphs) | Storage for glyph indexes in the run. |
22| float \* [pos](#pos) | Storage for glyph positions in the run. |
23| char \* [utf8text](#utf8text) | Storage for UTF-8 encoded text units in the run. |
24| uint32_t \* [clusters](#clusters) | Storage for glyph clusters (index of the UTF-8 encoded text unit) in the run. |
25
26
27## Member Variable Description
28
29
30### clusters
31
32```
33uint32_t* OH_Drawing_RunBuffer::clusters
34```
35**Description**
36
37Storage for glyph clusters (index of the UTF-8 encoded text unit) in the run.
38
39
40### glyphs
41
42```
43uint16_t* OH_Drawing_RunBuffer::glyphs
44```
45**Description**
46
47Storage for glyph indexes in the run.
48
49
50### pos
51
52```
53float* OH_Drawing_RunBuffer::pos
54```
55**Description**
56
57Storage for glyph positions in the run.
58
59
60### utf8text
61
62```
63char* OH_Drawing_RunBuffer::utf8text
64```
65**Description**
66
67Storage for UTF-8 encoded text units in the run.
68