Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val open_font : file:string -> ptsize:int -> font
val open_font_index : file:string -> ptsize:int -> index:int -> font
val close_font : font -> unit
val render_text_solid : font -> text:string -> color:color -> Sdlsurface.t
val render_utf8_solid : font -> text:string -> color:color -> Sdlsurface.t
val render_text_shaded :
font ->
text:string ->
fg:color ->
bg:color ->
Sdlsurface.t
val render_utf8_shaded :
font ->
text:string ->
fg:color ->
bg:color ->
Sdlsurface.t
val render_text_blended : font -> text:string -> color:color -> Sdlsurface.t
val render_utf8_blended : font -> text:string -> color:color -> Sdlsurface.t
val size_text : font -> string -> int * int
val size_utf8 : font -> string -> int * int