package raylib

  1. Overview
  2. Docs

Module Raylib.FontSource

Sourcetype t' = Raylib_generated_types.Font.t
Sourcetype t = t' ctyp
Sourceval base_size : t -> int

Base size (default chars height)

Sourceval chars_padding : t -> int

Padding around the chars

Sourceval texture : t -> Texture.t

Characters texture atlas

Sourceval recs : t -> Rectangle.t ptr

Characters rectangles in texture

Sourceval chars : t -> CharInfo.t CArray.t

Characters info data

Sourceval set_base_size : t -> int -> unit
Sourceval set_chars_padding : t -> int -> unit
Sourceval set_texture : t -> Texture.t -> unit
Sourceval set_recs : t -> Rectangle.t ptr -> unit
Sourceval set_chars : t -> CharInfo.t CArray.t -> unit
OCaml

Innovation. Community. Security.