package raylib

  1. Overview
  2. Docs
type t = t' ctyp
val t : t Ctypes.typ
val base_size : t -> int

Base size (default chars height)

val glyph_padding : t -> int

Padding around the glyph characters

val texture : t -> Texture.t

Texture atlas containing the glyphs

val recs : t -> Rectangle.t ptr

Rectangles in texture for the glyphs

val glyphs : t -> GlyphInfo.t CArray.t

Glyphs info data

val set_base_size : t -> int -> unit
val set_glyph_padding : t -> int -> unit
val set_texture : t -> Texture.t -> unit
val set_recs : t -> Rectangle.t ptr -> unit
val set_glyphs : t -> GlyphInfo.t CArray.t -> unit
OCaml

Innovation. Community. Security.