Kanzi  3.9.5
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

◆ LineInfo()

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

Constructor.

Member Data Documentation

◆ width

float kanzi::TextLayouter::LineInfo::width

Width of a line of text in pixels.

◆ length

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

Length of a line of text in characters.

◆ startIndex

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: