package labltk

  1. Overview
  2. Docs
type t
type pixel
val width : t -> int
val height : t -> int
val create : int -> int -> t
val get : CTk.imagePhoto -> t
val set : CTk.imagePhoto -> t -> unit
val blit : CTk.imagePhoto -> t -> int -> int -> int -> int -> unit
val from_file : string -> t
val copy : t -> t -> unit
val get_pixel : t -> int -> int -> pixel
val set_pixel : t -> int -> int -> pixel -> unit
val default_color : pixel
val pixel : int -> int -> int -> pixel
val unsafe_copy : t -> t -> unit
val unsafe_get_pixel : t -> int -> int -> pixel
val unsafe_set_pixel : t -> int -> int -> pixel -> unit
OCaml

Innovation. Community. Security.