diff options
| author | Ricardo Silva <ricardo.silva@talkdesk.com> | 2023-03-24 14:16:46 +0000 |
|---|---|---|
| committer | Ricardo Silva <ricardo.silva@talkdesk.com> | 2023-03-24 14:16:46 +0000 |
| commit | 75cf45f0bee0bf67d6c5f0d1387fa63ad90c9fe2 (patch) | |
| tree | c810518e37de615535829ba80b4f67f1750ba4ca | |
| parent | d337a11e83d88b8362e5547a04083910942ee395 (diff) | |
Fix raylib bindings for MeasureTextEx
| -rw-r--r-- | vendor/raylib/raylib.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/raylib/raylib.odin b/vendor/raylib/raylib.odin index cb730bc0a..2bedf77c4 100644 --- a/vendor/raylib/raylib.odin +++ b/vendor/raylib/raylib.odin @@ -1371,7 +1371,7 @@ foreign lib { // Text font info functions MeasureText :: proc(text: cstring, fontSize: c.int) -> c.int --- // Measure string width for default font - MeasureTextEx :: proc(font: Font, text: cstring, fontSize: c.int, spacing: c.int) -> Vector2 --- // Measure string size for Font + MeasureTextEx :: proc(font: Font, text: cstring, fontSize: f32, spacing: f32) -> Vector2 --- // Measure string size for Font GetGlyphIndex :: proc(font: Font, codepoint: rune) -> c.int --- // Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found GetGlyphInfo :: proc(font: Font, codepoint: rune) -> GlyphInfo --- // Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found GetGlyphAtlasRec :: proc(font: Font, codepoint: rune) -> Rectangle --- // Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found |