iv::FontMesh::LineState Struct Reference

#include <FontMesh.hpp>

Public Member Functions

 LineState ()
 
bool operator== (LineState const &b)
 

Public Attributes

float2 basepoint
 
float preadvance
 This advance should be done before adding another glyph. More...
 
bool baseline_fixed
 If this is false, then ascender and descender is irrelevant and basepoint is top left of available space (so next segment can set ascender or descender and set basepoint on position basepoint.y+ascender). More...
 
float ascender
 
float descender
 

Detailed Description

Definition at line 16 of file FontMesh.hpp.

Constructor & Destructor Documentation

◆ LineState()

iv::FontMesh::LineState::LineState ( )
inline

Definition at line 25 of file FontMesh.hpp.

Member Function Documentation

◆ operator==()

bool iv::FontMesh::LineState::operator== ( LineState const &  b)
inline

Definition at line 26 of file FontMesh.hpp.

Member Data Documentation

◆ basepoint

float2 iv::FontMesh::LineState::basepoint

Definition at line 18 of file FontMesh.hpp.

◆ preadvance

float iv::FontMesh::LineState::preadvance

This advance should be done before adding another glyph.

Definition at line 19 of file FontMesh.hpp.

◆ baseline_fixed

bool iv::FontMesh::LineState::baseline_fixed

If this is false, then ascender and descender is irrelevant and basepoint is top left of available space (so next segment can set ascender or descender and set basepoint on position basepoint.y+ascender).

Definition at line 21 of file FontMesh.hpp.

◆ ascender

float iv::FontMesh::LineState::ascender

Definition at line 22 of file FontMesh.hpp.

◆ descender

float iv::FontMesh::LineState::descender

Definition at line 23 of file FontMesh.hpp.


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