Kanzi 3.9.10
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.
 

Public Attributes

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

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: