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 = {
}
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 = {
}
val getInfo : t -> info