ZenitUI
Retained-mode C++20 UI framework
Loading...
Searching...
No Matches
ZenitUI::FontMetrics Struct Reference

Scaled vertical metrics for a font at a given logical pixel size. More...

#include <TextEngine.hpp>

Public Attributes

float ascent {0.0f}
 Distance from baseline to top of ascenders (positive, logical px).
float descent {0.0f}
 Distance from baseline to bottom of descenders (positive, logical px).
float lineHeight {0.0f}
 Recommended line advance (logical px).

Detailed Description

Scaled vertical metrics for a font at a given logical pixel size.


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