You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Get glyph rectangle in font atlas for a codepoint (unicode character) NOTE: If codepoint is not found in the font it fallbacks to '?'
Parameters
Parameter
Default Value
Note
font
codepoint
Return value
Condition
Return Value
(always)
map
Notes
Example
// Get the atlas rectangle for the character 'A' (codepoint 65)font=raylib.GetFontDefaultrec=raylib.GetGlyphAtlasRec(font, 65)
printrec.x, rec.y, rec.width, rec.height