Structure for holding data about text lines.
More...
#include <kanzi/core.ui/text/text_layouter.hpp>
|
| size_t | length |
| | Length of a line of text in characters.
|
| |
| size_t | startIndex |
| | Index to the first character in a line.
|
| |
| float | width |
| | Width of a line of text in pixels.
|
| |
Structure for holding data about text lines.
◆ LineInfo()
| kanzi::TextLayouter::LineInfo::LineInfo |
( |
size_t | length, |
|
|
float | width, |
|
|
size_t | startIndex ) |
|
inline |
Constructor.
- Parameters
-
| length | Line length in characters. |
| width | Line width in pixels. |
| startIndex | Index of the first character in line. |
- Since
- Kanzi 4.0.0 changed the type of the length and startIndex parameters to size_t.
◆ width
| float kanzi::TextLayouter::LineInfo::width |
Width of a line of text in pixels.
◆ length
| size_t kanzi::TextLayouter::LineInfo::length |
Length of a line of text in characters.
- Since
- Kanzi 4.0.0 changed the type to size_t.
◆ startIndex
| size_t kanzi::TextLayouter::LineInfo::startIndex |
Index to the first character in a line.
- Since
- Kanzi 4.0.0 changed the type to size_t.
The documentation for this struct was generated from the following file: