Module Raylib.GlyphInfo

type t'
type t = t' ctyp
val t : t Ctypes.typ
val create : int -> int -> int -> int -> Image.t -> t

create value offset_x offset_y advance_x image

val value : t -> int

Character value (Unicode)

val offset_x : t -> int

Character offset X when drawing

val offset_y : t -> int

Character offset Y when drawing

val advance_x : t -> int

Character advance position X

val image : t -> Image.t

Character image data

val set_value : t -> int -> unit
val set_offset_x : t -> int -> unit
val set_offset_y : t -> int -> unit
val set_advance_x : t -> int -> unit
val set_image : t -> Image.t -> unit