mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-28 05:46:12 +01:00
Merge pull request #47 from zsbzsb/update/font_metrics
Changed the font metrics to return floats instead of ints
This commit is contained in:
commit
d105eded16
3 files changed
+7
-7
No files matched your search
@@ -37,9 +37,9 @@
|
||||
////////////////////////////////////////////////////////////
|
||||
typedef struct
|
||||
{
|
||||
int advance; ///< Offset to move horizontically to the next character
|
||||
sfIntRect bounds; ///< Bounding rectangle of the glyph, in coordinates relative to the baseline
|
||||
sfIntRect textureRect; ///< Texture coordinates of the glyph inside the font's image
|
||||
float advance; ///< Offset to move horizontically to the next character
|
||||
sfFloatRect bounds; ///< Bounding rectangle of the glyph, in coordinates relative to the baseline
|
||||
sfIntRect textureRect; ///< Texture coordinates of the glyph inside the font's image
|
||||
} sfGlyph;
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user