From 6e17282197320bfc3af6a225fb3d9e13194022fa Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 24 Aug 2023 20:19:13 +0300 Subject: GetFontTexture. --- API.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'API.md') diff --git a/API.md b/API.md index 564daec..dcf5d62 100644 --- a/API.md +++ b/API.md @@ -3579,7 +3579,7 @@ Get texture mipmaps. Mipmap levels, 1 by default > format = RL.GetTextureFormat( Texture2D texture ) -Get texture mipmaps. Mipmap levels, 1 by default +Get texture data format ( PixelFormat type ) - Failure return false - Success return int @@ -3802,7 +3802,7 @@ Measure string size for Font > baseSize = RL.GetFontBaseSize( Font font ) -Get font baseSize +Get font base size ( default chars height ) - Failure return false - Success return int @@ -3811,7 +3811,7 @@ Get font baseSize > glyphCount = RL.GetFontGlyphCount( Font font ) -Get font glyphCount +Get font number of glyph characters - Failure return false - Success return int @@ -3820,13 +3820,22 @@ Get font glyphCount > glyphPadding = RL.GetFontGlyphPadding( Font font ) -Get font glyphPadding +Get font padding around the glyph characters - Failure return false - Success return int --- +> textureTable = RL.GetFontTexture( Font font ) + +Get font texture atlas containing the glyphs. NOTE! Texture in table form. + +- Failure return false +- Success return table + +--- + ## Models - Basic --- -- cgit v1.2.3