Glyph is used by Legend and contains positional information about characters.
More...
#include <legend.hpp>
|
| Glyph (FT_Pos _ax, FT_Pos _ay, unsigned int _bw, unsigned int _bh, FT_Int _bl, FT_Int _bt) |
|
|
FT_Pos | ax |
|
FT_Pos | ay |
|
unsigned int | bw |
|
unsigned int | bh |
|
FT_Int | bl |
|
FT_Int | bt |
|
Glyph is used by Legend and contains positional information about characters.
- Author
- Felix
- Implementation
- The Glyph struct holds the most important parameters from FT_GlyphSlot. This struct is used in std::map<char, Glyph> charGlyphMap; in order to look up the corresponding Glyph for a character. The memory in FT_GlyphSlot is automatically deallocated so we need an additional container, that is the reason why this struct exists.
Glyph::Glyph |
( |
FT_Pos |
_ax, |
|
|
FT_Pos |
_ay, |
|
|
unsigned int |
_bw, |
|
|
unsigned int |
_bh, |
|
|
FT_Int |
_bl, |
|
|
FT_Int |
_bt |
|
) |
| |
|
inline |
The documentation for this struct was generated from the following file: