Module Sdlttf

Exception
exception SDLttf_exception of string


Type
type font


Operations
val open_font : string -> int -> font

val close_font : font -> unit

val font_height : font -> int

val font_metrics : font -> int -> int*int*int*int

val render_text : font -> string -> (int * int * int) -> (int * int * int) -> Sdlvideo.surface


Return a function to print strings, and another to clean up printer

val make_printer : font -> (int * int * int) -> (Sdlvideo.surface -> int -> int -> string -> unit) * (unit -> unit)