iv::Font::Info Struct Reference

#include <Font.hpp>

Public Member Functions

 Info ()
 

Public Attributes

float line_height
 Relative to font size. From one baseline to another baseline. More...
 
float ascender
 Relative to font size. From baseline to top of highest glyph. More...
 
float descender
 Relative to font size. From baseline to bottom of most bottom-reaching glyph. More...
 
float max_advance
 Relative to font size. Maximal advance of a glyph. More...
 
std::unordered_map< uint32_t, float > advances
 Relative to font size. Advance after given glyph. More...
 
std::unordered_map< uint32_t, float > widths
 Relative to font size. Distance from basepoint to right side of the glyph. More...
 

Detailed Description

Definition at line 23 of file Font.hpp.

Constructor & Destructor Documentation

◆ Info()

iv::Font::Info::Info ( )
inline

Definition at line 33 of file Font.hpp.

Member Data Documentation

◆ line_height

float iv::Font::Info::line_height

Relative to font size. From one baseline to another baseline.

Definition at line 25 of file Font.hpp.

◆ ascender

float iv::Font::Info::ascender

Relative to font size. From baseline to top of highest glyph.

Definition at line 26 of file Font.hpp.

◆ descender

float iv::Font::Info::descender

Relative to font size. From baseline to bottom of most bottom-reaching glyph.

Definition at line 27 of file Font.hpp.

◆ max_advance

float iv::Font::Info::max_advance

Relative to font size. Maximal advance of a glyph.

Definition at line 28 of file Font.hpp.

◆ advances

std::unordered_map< uint32_t, float > iv::Font::Info::advances

Relative to font size. Advance after given glyph.

Definition at line 30 of file Font.hpp.

◆ widths

std::unordered_map< uint32_t, float > iv::Font::Info::widths

Relative to font size. Distance from basepoint to right side of the glyph.

Definition at line 31 of file Font.hpp.


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