package imagelib

  1. Overview
  2. Docs
type t =
  1. | Pix8 of pixmap8
  2. | Pix16 of pixmap16
val create8 : int -> int -> t
val create16 : int -> int -> t
val get : t -> int -> int -> int
val set : t -> int -> int -> int -> unit
val fill : t -> int -> unit
val copy : t -> t

copy t is a copy of t using a new memory allocation. This is useful when code out of your control may hold references to a pixmap, since pixmaps are mutable.

val compare : t -> t -> int