|
SFML
Simple and Fast Multimedia Library
|
Structure describing a glyph. More...
#include <Glyph.hpp>
Public Attributes | |
| float | advance {} |
| Offset to move horizontally to the next character. | |
| int | lsbDelta {} |
| Left offset after forced autohint. Internally used by getKerning(). | |
| int | rsbDelta {} |
| Right offset after forced autohint. Internally used by getKerning(). | |
| FloatRect | bounds |
| Bounding rectangle of the glyph, in coordinates relative to the baseline. | |
| IntRect | textureRect |
| Texture coordinates of the glyph inside the font's texture. | |
Structure describing a glyph.
A glyph is the visual representation of a character.
The sf::Glyph structure provides the information needed to handle the glyph:
| float sf::Glyph::advance {} |
Offset to move horizontally to the next character.
| FloatRect sf::Glyph::bounds |
Bounding rectangle of the glyph, in coordinates relative to the baseline.
| int sf::Glyph::lsbDelta {} |
Left offset after forced autohint. Internally used by getKerning().
| int sf::Glyph::rsbDelta {} |
Right offset after forced autohint. Internally used by getKerning().