Parameters
Signature
- type t
module Cache : sig ... end- type arg-  = Impl.gl
- val create : flags:CreateFlags.t -> arg -> t
- val save : t -> unit
- val restore : t -> unit
- val reset : t -> unit
- val set_device_pixel_ratio : t -> float -> unit
- val set_shape_antialias : t -> enabled:bool -> unit
- val set_miter_limit : t -> limit:float -> unit
- val set_stroke_width : t -> width:float -> unit
- val set_line_cap : t -> cap:LineCap.t -> unit
- val set_line_join : t -> join:LineJoin.t -> unit
- val begin_frame : t -> width:float -> height:float -> device_ratio:float -> unit
- val cancel_frame : t -> unit
- val end_frame : t -> unit
- val fill : t -> unit
- val stroke : t -> unit
module Path : sig ... endmodule Image : sig ... endmodule Paint : sig ... end- val set_fill_color : t -> color:Color.t -> unit
- val set_fill_paint : t -> paint:Paint.t -> unit
- val set_stroke_color : t -> color:Color.t -> unit
- val set_stroke_paint : t -> paint:Paint.t -> unit
module Text : sig ... end