summaryrefslogtreecommitdiffhomepage
path: root/projects/scripts
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-08-11 21:16:39 +0200
committerraysan5 <[email protected]>2021-08-11 21:16:39 +0200
commit621a8766a812e508037e580c4e5d8419d12977be (patch)
tree78262b179517bba726e2417fca39e453f18a3f43 /projects/scripts
parentb6541b7a558304f8a6e27533195c898ea728b712 (diff)
downloadraylib-621a8766a812e508037e580c4e5d8419d12977be.tar.gz
raylib-621a8766a812e508037e580c4e5d8419d12977be.zip
WARNING: BREAKING: Renamed `CharInfo` to `GlyphInfo` and more...
This commit introduces some breaking changes for library consistency, hopefully not too dramatic... Here the full list: - RENAMED: struct `CharInfo` to `GlyphInfo`, actually that's the correct naming for the data contained. It contains the character glyph metrics and the glyph image; in the past it also contained rectangle within the font atlas but that data has been moved to `Font` struct directly, so, `GlyphInfo` is a more correct name. - RENAMED: `CodepointToUtf8()` to `CodepointToUTF8()`, capitalization of UTF-8 is the correct form, it would also require de hyphen but it can be omitted in this case. - RENAMED: `TextToUtf8()` to `TextCodepointsToUTF8` for consistency and more detail on the functionality. - ADDED: `GetGlyphInfo()` to get glyph info for a specific codepoint - ADDED: `GetGlyphAtlasRec()` to get glyph rectangle within the generated font atlas - Some additional tweaks for consistency
Diffstat (limited to 'projects/scripts')
0 files changed, 0 insertions, 0 deletions