Structure describing a glyph.
More...
#include <SFML/Graphics/Glyph.hpp>
|
| | Glyph () |
| | Default constructor.
|
| |
|
| 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:
- its coordinates in the font's texture
- its bounding rectangle
- 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.
◆ Glyph()
Default constructor.
Definition at line 49 of file Glyph.hpp.
◆ advance
Offset to move horizontally to the next character.
Definition at line 54 of file Glyph.hpp.
◆ bounds
Bounding rectangle of the glyph, in coordinates relative to the baseline.
Definition at line 57 of file Glyph.hpp.
◆ lsbDelta
Left offset after forced autohint. Internally used by getKerning()
Definition at line 55 of file Glyph.hpp.
◆ rsbDelta
Right offset after forced autohint. Internally used by getKerning()
Definition at line 56 of file Glyph.hpp.
◆ textureRect
Texture coordinates of the glyph inside the font's texture.
Definition at line 58 of file Glyph.hpp.
The documentation for this class was generated from the following file: