iv::FontMesh::Geometry Struct Reference

#include <FontMesh.hpp>

Public Member Functions

 Geometry ()
 

Public Attributes

unsigned characters
 How many characters fit into available space. Includes characters skipped according to Location::skip_characters. More...
 
bool fits
 If everything that was meant to fit into layout fits there. If this is false, we will not show any more TextSegments after this one. More...
 
float max_width
 
LineState line_state
 

Detailed Description

Definition at line 42 of file FontMesh.hpp.

Constructor & Destructor Documentation

◆ Geometry()

iv::FontMesh::Geometry::Geometry ( )
inline

Definition at line 50 of file FontMesh.hpp.

Member Data Documentation

◆ characters

unsigned iv::FontMesh::Geometry::characters

How many characters fit into available space. Includes characters skipped according to Location::skip_characters.

Definition at line 44 of file FontMesh.hpp.

◆ fits

bool iv::FontMesh::Geometry::fits

If everything that was meant to fit into layout fits there. If this is false, we will not show any more TextSegments after this one.

Definition at line 45 of file FontMesh.hpp.

◆ max_width

float iv::FontMesh::Geometry::max_width

Definition at line 46 of file FontMesh.hpp.

◆ line_state

LineState iv::FontMesh::Geometry::line_state

Definition at line 48 of file FontMesh.hpp.


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