package sfml

  1. Overview
  2. Docs
type t
val createFromFile : filename:string -> t
val createFromMemory : data:string -> t
val copy : t -> t
type glyph = {
  1. advance : float;
  2. bounds : float SFRect.t;
  3. textureRect : int SFRect.t;
}
val getGlyph : t -> codePoint:int32 -> characterSize:int -> bold:bool -> glyph
val getKerning : t -> first:int32 -> second:int32 -> characterSize:int -> float
val getLineSpacing : t -> characterSize:int -> float
val getUnderlinePosition : t -> characterSize:int -> float
val getUnderlineThickness : t -> characterSize:int -> float
type info = {
  1. family : string;
}
val getInfo : t -> info
OCaml

Innovation. Community. Security.