package imagelib

  1. Overview
  2. Docs

Module Image.PixmapSource

Sourcetype t =
  1. | Pix8 of pixmap8
  2. | Pix16 of pixmap16
Sourceval create8 : int -> int -> t
Sourceval create16 : int -> int -> t
Sourceval get : t -> int -> int -> int
Sourceval set : t -> int -> int -> int -> unit
Sourceval fill : t -> int -> unit
Sourceval 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.

Sourceval compare : t -> t -> int
OCaml

Innovation. Community. Security.