More font functions, doing smaller tested pushes now.
This commit is contained in:
parent
e544033ed8
commit
f7d81c1703
69
raylib.ads
69
raylib.ads
@ -3056,35 +3056,54 @@ package Raylib is
|
|||||||
--~Convention => C,
|
--~Convention => C,
|
||||||
--~External_Name => "";
|
--~External_Name => "";
|
||||||
|
|
||||||
--~procedure SetTextLineSpacing (int spacing) with
|
procedure Set_Text_Line_Spacing (
|
||||||
--~Import => True,
|
Spacing : Integer := 0
|
||||||
--~Convention => C,
|
) with
|
||||||
--~External_Name => "";
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "SetTextLineSpacing";
|
||||||
|
|
||||||
--~function int MeasureText (const char *text, int fontSize) with
|
function Measure_Text (
|
||||||
--~Import => True,
|
Text : String := "";
|
||||||
--~Convention => C,
|
Font_Size : Integer := 0
|
||||||
--~External_Name => "";
|
) return Integer with
|
||||||
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "MeasureText";
|
||||||
|
|
||||||
--~function Vector2 MeasureTextEx (Font font, const char *text, float fontSize, float spacing) with
|
function Measure_Text_Ex (
|
||||||
--~Import => True,
|
Data : Font := Get_Font_Default;
|
||||||
--~Convention => C,
|
Text : String := "";
|
||||||
--~External_Name => "";
|
Font_Size : Float := 0.0;
|
||||||
|
Spacing : Float := 0.0
|
||||||
|
) return Vector_2D with
|
||||||
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "MeasureTextEx";
|
||||||
|
--~################################################################
|
||||||
|
function Get_Glyph_Index (
|
||||||
|
Data : Font := Get_Font_Default;
|
||||||
|
Code_Point : Integer := 0
|
||||||
|
) return Integer with
|
||||||
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "GetGlyphIndex";
|
||||||
|
|
||||||
--~function int GetGlyphIndex (Font font, int codepoint) with
|
function Get_Glyph_Info (
|
||||||
--~Import => True,
|
Data : Font := Get_Font_Default;
|
||||||
--~Convention => C,
|
Code_Point : Integer := 0
|
||||||
--~External_Name => "";
|
) return Glyph_Info with
|
||||||
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "GetGlyphInfo";
|
||||||
|
|
||||||
--~function GlyphInfo GetGlyphInfo (Font font, int codepoint) with
|
function Get_Glyph_Atlas_Rec (
|
||||||
--~Import => True,
|
Data : Font := Get_Font_Default;
|
||||||
--~Convention => C,
|
Code_Point : Integer := 0
|
||||||
--~External_Name => "";
|
) return Rectangle with
|
||||||
|
Import => True,
|
||||||
--~function Rectangle GetGlyphAtlasRec (Font font, int codepoint) with
|
Convention => C,
|
||||||
--~Import => True,
|
External_Name => "GetGlyphAtlasRec";
|
||||||
--~Convention => C,
|
|
||||||
--~External_Name => "";
|
|
||||||
|
|
||||||
--~function char *LoadUTF8 (const int *codepoints, int length) with
|
--~function char *LoadUTF8 (const int *codepoints, int length) with
|
||||||
--~Import => True,
|
--~Import => True,
|
||||||
|
Loading…
Reference in New Issue
Block a user