Module ImageCanvas.CanvasYUV420
type t = {
width : int;
height : int;
elements : E.t list;
}
val create : int -> int -> t
val make :
?width:int ->
?height:int ->
?x:int ->
?y:int ->
Mm_image__ImageYUV420.t ->
t
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 -> unit) -> 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