libgui 2.01
libgui is a GUI library for the GameCube, Wii, and Wii U
 
Loading...
Searching...
No Matches
FontOffset Struct Reference

Per-pixel-size font metrics used for text-block alignment/positioning. More...

#include <GuiTextRenderer.h>

Public Attributes

int16_t ascender
 Font ascender for the current size (distance above the baseline), in design pixels.
 
int16_t descender
 Font descender for the current size (negative: distance below the baseline), in design pixels.
 
int16_t max
 Height above the baseline of the tallest glyph in the measured string (see GuiTextRenderer::getOffset())
 
int16_t min
 Depth below the baseline of the lowest glyph in the measured string (see GuiTextRenderer::getOffset())
 

Detailed Description

Per-pixel-size font metrics used for text-block alignment/positioning.

Definition at line 40 of file GuiTextRenderer.h.

Member Data Documentation

◆ ascender

int16_t FontOffset::ascender

Font ascender for the current size (distance above the baseline), in design pixels.

Definition at line 41 of file GuiTextRenderer.h.

◆ descender

int16_t FontOffset::descender

Font descender for the current size (negative: distance below the baseline), in design pixels.

Definition at line 42 of file GuiTextRenderer.h.

◆ max

int16_t FontOffset::max

Height above the baseline of the tallest glyph in the measured string (see GuiTextRenderer::getOffset())

Definition at line 43 of file GuiTextRenderer.h.

◆ min

int16_t FontOffset::min

Depth below the baseline of the lowest glyph in the measured string (see GuiTextRenderer::getOffset())

Definition at line 44 of file GuiTextRenderer.h.


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