package raylib

All checked builds pass
  1. Overview
  2. Docs
OCaml bindings for raylib

Install

dune-project
 Dependency

Authors

Maintainers

Sources

raylib-2.4.2.tbz
sha256=99835d66dce2e6d73693b1af784c6b74c937c348904d166c250dc1b618b81ff4
sha512=b74ca2f8e9d9a2fc13bc860590b7fbcf30100295a9fb6006b25c80a343df8cec890700cc0fb084a063f8833400415283236666cdf06f44ab2e872c7b7e9d9485

doc/raylib.types/Raylib_types/GlyphInfo/index.html

Module Raylib_types.GlyphInfoSource

Sourcetype t'
Sourcetype t = t' ctyp
Sourceval t : t Ctypes.typ
Sourceval create : int -> int -> int -> int -> Image.t -> t

create value offset_x offset_y advance_x image

Sourceval value : t -> int

Character value (Unicode)

Sourceval offset_x : t -> int

Character offset X when drawing

Sourceval offset_y : t -> int

Character offset Y when drawing

Sourceval advance_x : t -> int

Character advance position X

Sourceval image : t -> Image.t

Character image data

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