Module SFFont

module SFFont: sig .. end


Online documentation for the Font class
type t 
val createFromFile : filename:string -> t
val createFromMemory : data:string -> t
val copy : t -> t
type glyph = {
   advance :int;
   bounds :int SFRect.t;
   textureRect :int SFRect.t;
}
val getGlyph : t -> codePoint:int32 -> characterSize:int -> bold:bool -> glyph
val getKerning : t -> first:int32 -> second:int32 -> characterSize:int -> int
val getLineSpacing : t -> characterSize:int -> int