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