Public Attributes | |
| unsigned | ascent |
| unsigned | bytes |
| unsigned | firstByteIdx |
| unsigned | height |
| unsigned | idx |
| unsigned | width |
| unsigned | y |
Every text line has one segment at the least.
Text line can have multiple segments. Additional segments can appear as a result of automatic text wrap.
fe::LineInfo for the "qwerty123" text line:
|
| ||||||||||||||||||||||||||||||
Two fe::LineInfo-s for two segments of the "qwerty123" text line. The second segment is a result of automatic text wrap.
|
|
| unsigned fe::LineInfo::idx |
Text line segment index. The value is within the [0, breaks] range, where breaks is the number of additional segments the given text line has as a result of automatic text wrap.
| unsigned fe::LineInfo::y |
Vertical offset of the text line segment's top left corner from the top left corner of the first text line segment of the given text line. Measured in pixels.
| unsigned fe::LineInfo::width |
Text line segment width. Measured in pixels.
| unsigned fe::LineInfo::height |
Text line segment height. Measured in pixels.
| unsigned fe::LineInfo::ascent |
Text line segment ascent. Measured in pixels.
| unsigned fe::LineInfo::firstByteIdx |
Text line segment first byte index. The value is relative to the first byte of the given text line.
| unsigned fe::LineInfo::bytes |
Text line segment size in bytes.