blip
0.1
|
A TrueType font character glyph. More...
#include <Font.hpp>
Public Member Functions | |
~FontGlyph () | |
Destructor. More... | |
const Pixmap & | getPixmap () const |
Get the Pixmap which contains the glyph, rendered as an 8-bit alpha image. More... | |
int | getAdvance () const |
Get the glyph's advance, in pixels. More... | |
int | getLeft () const |
Get the glyph's left bearing, in pixels. More... | |
int | getTop () const |
Get the glyph's top bearing, in pixels. More... | |
int | getAscent () const |
Get the glyph's ascent, in pixels. More... | |
int | getDescent () const |
Get the glyph's descent, in pixels. More... | |
A TrueType font character glyph.
~FontGlyph | ( | ) |
Destructor.
|
inline |
Get the glyph's advance, in pixels.
int getAscent | ( | ) | const |
Get the glyph's ascent, in pixels.
int getDescent | ( | ) | const |
Get the glyph's descent, in pixels.
|
inline |
Get the glyph's left bearing, in pixels.
|
inline |
Get the Pixmap which contains the glyph, rendered as an 8-bit alpha image.
|
inline |
Get the glyph's top bearing, in pixels.