Kanzi  3.9.7
Kanzi Engine API
kanzi::TextLayouter::LineInfo Struct Reference

Structure for holding data about text lines. More...

#include <kanzi/core.ui/text/text_layouter.hpp>

Public Member Functions

 LineInfo (unsigned int length, float width, unsigned int startIndex)
 Constructor. More...
 

Public Attributes

unsigned int length
 Length of a line of text in characters. More...
 
unsigned int startIndex
 Index to the first character in a line. More...
 
float width
 Width of a line of text in pixels. More...
 

Detailed Description

Structure for holding data about text lines.

Constructor & Destructor Documentation

kanzi::TextLayouter::LineInfo::LineInfo ( unsigned int  length,
float  width,
unsigned int  startIndex 
)
inline

Constructor.

Member Data Documentation

float kanzi::TextLayouter::LineInfo::width

Width of a line of text in pixels.

unsigned int kanzi::TextLayouter::LineInfo::length

Length of a line of text in characters.

unsigned int kanzi::TextLayouter::LineInfo::startIndex

Index to the first character in a line.


The documentation for this struct was generated from the following file: