SuperTuxKart
Public Attributes | List of all members
FontArea Struct Reference

Glyph metrics for each glyph loaded. More...

#include <face_ttf.hpp>

Public Attributes

int advance_x
 Advance width for horizontal layout. More...
 
int bearing_x
 Left side bearing for horizontal layout. More...
 
int offset_y
 Top side bearing for horizontal layout. More...
 
int offset_y_bt
 Top side bearing for horizontal layout used in billboard text. More...
 
int spriteno
 Index number in sprite bank of FontWithFace. More...
 

Detailed Description

Glyph metrics for each glyph loaded.

Member Data Documentation

◆ advance_x

int FontArea::advance_x

Advance width for horizontal layout.

◆ bearing_x

int FontArea::bearing_x

Left side bearing for horizontal layout.

◆ offset_y

int FontArea::offset_y

Top side bearing for horizontal layout.

◆ offset_y_bt

int FontArea::offset_y_bt

Top side bearing for horizontal layout used in billboard text.

◆ spriteno

int FontArea::spriteno

Index number in sprite bank of FontWithFace.


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