package mm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Element : sig ... end
module E = Element
type t = {
  1. width : int;
  2. height : int;
  3. elements : E.t list;
}
val create : int -> int -> t
val width : t -> int
val height : t -> int
val size : t -> int
val make : ?width:int -> ?height:int -> ?x:int -> ?y:int -> Mm_image__ImageYUV420.t -> t
val add : t -> t -> t
val covering : t -> bool
val render : ?fresh:bool -> ?transparent:bool -> t -> Mm_image__ImageYUV420.t
val rendered : ?transparent:bool -> t -> t
val map : (Mm_image__ImageYUV420.t -> Mm_image__ImageYUV420.t) -> t -> t
val iter : (Mm_image__ImageYUV420.t -> 'a) -> t -> t
val translate : int -> int -> t -> t
val viewport : ?x:int -> ?y:int -> int -> int -> t -> t
val bounding_box : t -> (int * int) * (int * int)
val scale : ?scaler:(Mm_image__ImageYUV420.t -> Mm_image__ImageYUV420.t -> unit) -> (int * int) -> (int * int) -> t -> t
val resize : ?proportional:bool -> ?scaler:(Mm_image__ImageYUV420.t -> Mm_image__ImageYUV420.t -> unit) -> int -> int -> t -> t
module Draw : sig ... end
OCaml

Innovation. Community. Security.