class EE::Graphics::Glyph¶
Overview¶
#include <font.hpp> class Glyph { public: // fields Float advance { 0 }; Rectf bounds; Rect textureRect; int lsbDelta { 0 }; int rsbDelta { 0 }; };
Detailed Documentation¶
Fields¶
Float advance { 0 }
Offset to move horizontally to the next character.
Rectf bounds
Bounding rectangle of the glyph, in coordinates relative to the baseline.
Rect textureRect
Texture coordinates of the glyph inside the font’s texture.
int lsbDelta { 0 }
Left offset after forced autohint. Internally used by getKerning()
int rsbDelta { 0 }
Right offset after forced autohint. Internally used by getKerning()