Parameters
Signature
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 -> I.t -> t
val render : ?fresh:bool -> ?transparent:bool -> t -> I.t
val rendered : ?transparent:bool -> t -> t
val iter : (I.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:(I.t -> I.t -> unit) ->
(int * int) ->
(int * int) ->
t ->
t
val resize :
?proportional:bool ->
?scaler:(I.t -> I.t -> unit) ->
int ->
int ->
t ->
t
module Draw : sig ... end