• 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
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| uint16_t \* [glyphs](#glyphs) | Describes the storage for glyph indexes in the run.|
21| float \* [pos](#pos) | Describes the storage for glyph positions in the run.|
22| char \* [utf8text](#utf8text) | Describes the storage for UTF-8 encoded text units in the run.|
23| uint32_t \* [clusters](#clusters) | Describes the storage for glyph clusters (index of the UTF-8 encoded text unit) in the run.|
24
25
26## Member Variable Description
27
28
29### clusters
30
31```
32uint32_t* OH_Drawing_RunBuffer::clusters
33```
34
35**Description**
36
37Describes the storage 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
46**Description**
47
48Describes the storage for glyph indexes in the run.
49
50
51### pos
52
53```
54float* OH_Drawing_RunBuffer::pos
55```
56
57**Description**
58
59Describes the storage for glyph positions in the run.
60
61
62### utf8text
63
64```
65char* OH_Drawing_RunBuffer::utf8text
66```
67
68**Description**
69
70Describes the storage for UTF-8 encoded text units in the run.
71