Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::text::Font::FontMetrics Struct Reference

This struct represents the cumulative metrics for the font. More...

#include "font.h"

Collaboration diagram for ion::text::Font::FontMetrics:

Public Member Functions

 FontMetrics ()
 The default constructor initializes everything to 0. More...
 

Public Attributes

float line_advance_height
 Nominal font-wide line-advance height, in pixels. More...
 

Detailed Description

This struct represents the cumulative metrics for the font.

Todo:
(bug): Consider entirely removing this 1-float struct.

Definition at line 66 of file font.h.

Constructor & Destructor Documentation

ion::text::Font::FontMetrics::FontMetrics ( )
inline

The default constructor initializes everything to 0.

Definition at line 68 of file font.h.

Member Data Documentation

float ion::text::Font::FontMetrics::line_advance_height

Nominal font-wide line-advance height, in pixels.

Definition at line 71 of file font.h.

Referenced by ion::text::ComputeTextSize(), and ion::text::Font::SetFontMetrics().


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