module CL_Font:sig
..end
API documentation for the class CL_Font
type
t
val init : gc:CL_GraphicContext.t -> typeface:string -> height:int -> t
val of_desc : gc:CL_GraphicContext.t -> desc:CL_FontDescription.t -> t
val delete : t -> unit
val get_text_size : font:t -> gc:CL_GraphicContext.t -> text:string -> CL_Sizef.t
val draw_text : font:t ->
gc:CL_GraphicContext.t ->
pos:float * float -> text:string -> ?color:CL_Colorf.t -> unit -> unit