package sfml

  1. Overview
  2. Docs
Bindings to the SFML multimedia library

Install

Dune Dependency

Authors

Maintainers

Sources

v0.09.tar.gz
sha256=75e28f425d6c40f39f7aac53b413da3d48ecd50aa88cdf644d38a14897a59a30
md5=01ffc5b471d774f2d6234c639b067f04

doc/sfml.graphics/SFFont/index.html

Module SFFont

Online documentation for the Font class

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.