package mm

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Mm.ImageRGBA32Source

Sourcemodule Color : sig ... end
Sourcetype t = {
  1. data : data;
  2. width : int;
  3. height : int;
  4. stride : int;
}
Sourceval width : t -> int
Sourceval height : t -> int
Sourceval dimensions : t -> int * int
Sourceval data : t -> data
Sourceval size : t -> int
Sourceval stride : t -> int
Sourceval make : ?stride:int -> int -> int -> data -> t
Sourceval copy : t -> t
Sourceval create : int -> int -> t
Sourceval blit_off : t -> t -> int -> int -> bool -> unit
Sourceval blit_off_scale : t -> t -> (int * int) -> (int * int) -> bool -> unit
Sourceval blit_all : t -> t -> unit
Sourceval blit : ?blank:bool -> ?x:int -> ?y:int -> ?w:int -> ?h:int -> t -> t -> unit
Sourceval fill_all : t -> Color.t -> unit
Sourceval blank_all : t -> unit
Sourceval blank : t -> unit
Sourceval fill_alpha : t -> int -> unit
Sourceval of_RGB24_string : string -> int -> t
Sourceval of_BGRA : BGRA.t -> t
Sourceval to_BGRA : t -> BGRA.t
Sourceval to_Gray8 : t -> Mm_image.ImageBase.Gray8.t -> unit
Sourceval to_Gray8_create : t -> Mm_image.ImageBase.Gray8.t
Sourceval get_pixel : t -> int -> int -> Color.t
Sourceval set_pixel : t -> int -> int -> Color.t -> unit
Sourceval get_pixel_rgba : t -> int -> int -> Color.t
Sourceval set_pixel_rgba : t -> int -> int -> Color.t -> unit
Sourceval randomize_all : t -> unit
Sourceval randomize : t -> unit
Sourcemodule Scale : sig ... end
Sourceval scale : ?proportional:bool -> t -> t -> unit
Sourceval to_BMP : t -> string
Sourceval to_RGB24_string : t -> string
Sourceexception Invalid_format of string
Sourceval of_PPM : ?alpha:(int * int * int) -> string -> t
Sourceval to_int_image : t -> int array array
Sourceval add_fast : t -> t -> unit
Sourceval add_off : t -> t -> int -> int -> unit
Sourceval add_off_scale : t -> t -> (int * int) -> (int * int) -> unit
Sourceval add : ?x:int -> ?y:int -> ?w:int -> ?h:int -> t -> t -> unit
Sourceval swap_rb : t -> unit
Sourcemodule Effect : sig ... end
Sourcemodule Draw : sig ... end
Sourcemodule Motion : sig ... end
OCaml

Innovation. Community. Security.