Pico Headers
Loading...
Searching...
No Matches
Public Attributes | List of all members
pf_metrics_t Struct Reference

Vertical font metrics for a face. More...

#include <pico_font.h>

Public Attributes

float ascent
 Distance from baseline to top of tallest glyph.
 
float descent
 Distance from baseline to bottom (typically negative).
 
float line_gap
 Extra spacing between lines.
 
float line_height
 Recommended line advance (ascent - descent + line_gap).
 

Detailed Description

Vertical font metrics for a face.

Member Data Documentation

◆ ascent

float pf_metrics_t::ascent

Distance from baseline to top of tallest glyph.

◆ descent

float pf_metrics_t::descent

Distance from baseline to bottom (typically negative).

◆ line_gap

float pf_metrics_t::line_gap

Extra spacing between lines.

◆ line_height

float pf_metrics_t::line_height

Recommended line advance (ascent - descent + line_gap).


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