type A_Alfont_Font is access all Alfont_Font;
type A_Size_Array is access all Size_Array;
function Alfont_Init return Integer;
procedure Alfont_Exit;
function Load_Font
( | filepathname | : String ) return A_Alfont_Font; |
function Load_Font_From_Mem
( | data | : Address; |
data_len | : Natural ) return A_Alfont_Font; |
procedure Destroy_Font
( | f | : in out A_Alfont_Font ); |
function Set_Font_Size
( | f | : not null A_Alfont_Font; |
h | : Positive ) return Integer; |
function Get_Font_Height
( | f | : not null A_Alfont_Font ) return Positive; |
function Is_Scalable_Font
( | f | : not null A_Alfont_Font ) return Boolean; |
function Is_Fixed_Font
( | f | : not null A_Alfont_Font ) return Boolean; |
procedure Set_Font_Fixed_Width
( | f | : not null A_Alfont_Font; |
fixed_width | : Boolean ); |
function Get_Available_Fixed_Sizes
( | f | : not null A_Alfont_Font ) return A_Size_Array; |
function Get_Nof_Available_Fixed_Sizes
( | f | : not null A_Alfont_Font ) return Integer; |
function Get_Char_Extra_Spacing
( | f | : not null A_Alfont_Font ) return Natural; |
procedure Set_Char_Extra_Spacing
( | f | : not null A_Alfont_Font; |
spacing | : Natural ); |
procedure Set_Language
( | f | : not null A_Alfont_Font; |
language | : String ); |
function Get_Language
( | f | : not null A_Alfont_Font ) return String; |
procedure Set_Convert
( | f | : not null A_Alfont_Font; |
typ | : Integer ); |
function Get_Convert
( | f | : not null A_Alfont_Font ) return Integer; |
procedure Set_Font_Style
( | f | : not null A_Alfont_Font; |
style | : Integer ); |
function Get_Font_Style
( | f | : not null A_Alfont_Font ) return Integer; |
procedure Set_Font_Underline
( | f | : not null A_Alfont_Font; |
underline | : Boolean ); |
function Get_Font_Underline
( | f | : not null A_Alfont_Font ) return Boolean; |
procedure Set_Font_Underline_Right
( | f | : not null A_Alfont_Font; |
underline_right | : Boolean ); |
function Get_Font_Underline_Right
( | f | : not null A_Alfont_Font ) return Boolean; |
procedure Set_Font_Underline_Left
( | f | : not null A_Alfont_Font; |
underline_left | : Boolean ); |
function Get_Font_Underline_Left
( | f | : not null A_Alfont_Font ) return Boolean; |
procedure Set_Font_Background
( | f | : not null A_Alfont_Font; |
background | : Boolean ); |
function Get_Font_Background
( | f | : not null A_Alfont_Font ) return Boolean; |
procedure Set_Font_Transparency
( | f | : not null A_Alfont_Font; |
transparency | : Integer ); |
function Get_Font_Transparency
( | f | : not null A_Alfont_Font ) return Integer; |
procedure Set_Autofix
( | f | : not null A_Alfont_Font; |
autofix | : Boolean ); |
function Get_Autofix
( | f | : not null A_Alfont_Font ) return Boolean; |
procedure Set_Precedingchar
( | f | : not null A_Alfont_Font; |
precedingchar | : Integer ); |
function Get_Precedingchar
( | f | : not null A_Alfont_Font ) return Integer; |
procedure Set_Font_Outline_Top
( | f | : not null A_Alfont_Font; |
w | : Natural ); |
function Get_Font_Outline_Top
( | f | : not null A_Alfont_Font ) return Natural; |
procedure Set_Font_Outline_Bottom
( | f | : not null A_Alfont_Font; |
w | : Natural ); |
function Get_Font_Outline_Bottom
( | f | : not null A_Alfont_Font ) return Natural; |
procedure Set_Font_Outline_Left
( | f | : not null A_Alfont_Font; |
w | : Natural ); |
function Get_Font_Outline_Left
( | f | : not null A_Alfont_Font ) return Natural; |
procedure Set_Font_Outline_Right
( | f | : not null A_Alfont_Font; |
w | : Natural ); |
function Get_Font_Outline_Right
( | f | : not null A_Alfont_Font ) return Natural; |
procedure Set_Font_Outline_Color
( | f | : not null A_Alfont_Font; |
c | : Integer ); |
function Get_Font_Outline_Color
( | f | : not null A_Alfont_Font ) return Integer; |
procedure Set_Font_Outline_Hollow
( | f | : not null A_Alfont_Font; |
hollow | : Boolean ); |
function Get_Font_Outline_Hollow
( | f | : not null A_Alfont_Font ) return Boolean; |
function Text_Count
( | f | : not null A_Alfont_Font; |
str | : String ) return Natural; |
function Need_Uconvert
( | f | : not null A_Alfont_Font; |
str | : String ) return Boolean; |
procedure Textout_aa
( | bmp | : not null A_Bitmap; |
f | : not null A_Alfont_Font; | |
s | : String; | |
x, y | : Integer; | |
color | : Color_Type ); |
procedure Textout
( | bmp | : not null A_Bitmap; |
f | : not null A_Alfont_Font; | |
s | : String; | |
x, y | : Integer; | |
color | : Color_Type ); |
procedure Textout_aa_ex
( | bmp | : not null A_Bitmap; |
f | : not null A_Alfont_Font; | |
s | : String; | |
x, y | : Integer; | |
color | : Color_Type; | |
backg | : Integer ); |
procedure Textout_ex
( | bmp | : not null A_Bitmap; |
f | : not null A_Alfont_Font; | |
s | : String; | |
x, y | : Integer; | |
color | : Color_Type; | |
backg | : Integer ); |
procedure Textout_Centre_aa
( | bmp | : not null A_Bitmap; |
f | : not null A_Alfont_Font; | |
s | : String; | |
x, y | : Integer; | |
color | : Color_Type ); |
procedure Textout_Centre
( | bmp | : not null A_Bitmap; |
f | : not null A_Alfont_Font; | |
s | : String; | |
x, y | : Integer; | |
color | : Color_Type ); |
procedure Textout_Centre_aa_ex
( | bmp | : not null A_Bitmap; |
f | : not null A_Alfont_Font; | |
s | : String; | |
x, y | : Integer; | |
color | : Color_Type; | |
backg | : Integer ); |
procedure Textout_Centre_ex
( | bmp | : not null A_Bitmap; |
f | : not null A_Alfont_Font; | |
s | : String; | |
x, y | : Integer; | |
color | : Color_Type; | |
backg | : Integer ); |
procedure Textout_Right_aa
( | bmp | : not null A_Bitmap; |
f | : not null A_Alfont_Font; | |
s | : String; | |
x, y | : Integer; | |
color | : Color_Type ); |
procedure Textout_Right
( | bmp | : not null A_Bitmap; |
f | : not null A_Alfont_Font; | |
s | : String; | |
x, y | : Integer; | |
color | : Color_Type ); |
procedure Textout_Right_aa_ex
( | bmp | : not null A_Bitmap; |
f | : not null A_Alfont_Font; | |
s | : String; | |
x, y | : Integer; | |
color | : Color_Type; | |
backg | : Integer ); |
procedure Textout_Right_ex
( | bmp | : not null A_Bitmap; |
f | : not null A_Alfont_Font; | |
s | : String; | |
x, y | : Integer; | |
color | : Color_Type; | |
backg | : Integer ); |
function Text_Height
( | f | : not null A_Alfont_Font ) return Natural; |
function Text_Length
( | f | : not null A_Alfont_Font; |
str | : String ) return Natural; |