Kanzi  3.9.6
Kanzi Engine API
kanzi::TextLayouter::IntermediateLayout Struct Reference

Intermediate structure for the layout of the text where the characters have not yet been positioned. More...

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

Public Member Functions

 IntermediateLayout ()
 Constructor. More...
 

Public Attributes

vector< CharacterInfocharacterInfos
 Character infos. More...
 
float height
 Height of the layouted text. More...
 
vector< LineInfolineInfos
 Line infos. More...
 
TextShapershaper
 Shaper used to shape this layout. More...
 
bool truncated
 Whether the text did not fit withing the given maximum bounds. More...
 
float width
 Width of the layouted text. More...
 

Detailed Description

Intermediate structure for the layout of the text where the characters have not yet been positioned.

Constructor & Destructor Documentation

◆ IntermediateLayout()

kanzi::TextLayouter::IntermediateLayout::IntermediateLayout ( )
inline

Constructor.

Member Data Documentation

◆ characterInfos

vector<CharacterInfo> kanzi::TextLayouter::IntermediateLayout::characterInfos

Character infos.

◆ lineInfos

vector<LineInfo> kanzi::TextLayouter::IntermediateLayout::lineInfos

Line infos.

◆ shaper

TextShaper* kanzi::TextLayouter::IntermediateLayout::shaper

Shaper used to shape this layout.

◆ width

float kanzi::TextLayouter::IntermediateLayout::width

Width of the layouted text.

◆ height

float kanzi::TextLayouter::IntermediateLayout::height

Height of the layouted text.

◆ truncated

bool kanzi::TextLayouter::IntermediateLayout::truncated

Whether the text did not fit withing the given maximum bounds.


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