Structure describing a glyph.
More...
#include <Glyph.hpp>
List of all members.
Public Member Functions |
| Glyph () |
| Default constructor.
|
Public Attributes |
int | Advance |
| Offset to move horizontically to the next character.
|
IntRect | Bounds |
| Bounding rectangle of the glyph, in coordinates relative to the baseline.
|
IntRect | SubRect |
| Texture coordinates of the glyph inside the font's texture.
|
Detailed Description
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:
- its coordinates in the font's texture
- its bounding rect
- the offset to apply to get the starting position of the next glyph
- See also:
- sf::Font
Definition at line 41 of file Glyph.hpp.
Constructor & Destructor Documentation
sf::Glyph::Glyph |
( |
|
) |
[inline] |
Default constructor.
Definition at line 49 of file Glyph.hpp.
Member Data Documentation
Offset to move horizontically to the next character.
Definition at line 54 of file Glyph.hpp.
Bounding rectangle of the glyph, in coordinates relative to the baseline.
Definition at line 55 of file Glyph.hpp.
Texture coordinates of the glyph inside the font's texture.
Definition at line 56 of file Glyph.hpp.
The documentation for this class was generated from the following file: