Module CL_Draw

module CL_Draw: sig .. end

API documentation for the class CL_Draw

val point : gc:CL_GraphicContext.t -> pos:CL_Pointf.t -> color:CL_Colorf.t -> unit
val box : gc:CL_GraphicContext.t ->
pos1:CL_Pointf.t -> pos2:CL_Pointf.t -> color:CL_Colorf.t -> unit
val line : gc:CL_GraphicContext.t ->
pos1:CL_Pointf.t -> pos2:CL_Pointf.t -> color:CL_Colorf.t -> unit
val fill : gc:CL_GraphicContext.t ->
pos1:CL_Pointf.t -> pos2:CL_Pointf.t -> color:CL_Colorf.t -> unit
val circle : gc:CL_GraphicContext.t ->
center:CL_Pointf.t -> radius:float -> color:CL_Colorf.t -> unit
val gradient_fill : gc:CL_GraphicContext.t ->
pos1:CL_Pointf.t -> pos2:CL_Pointf.t -> gradient:CL_Gradient.t -> unit
val gradient_circle : gc:CL_GraphicContext.t ->
center:CL_Pointf.t ->
?centergradient:CL_Pointf.t ->
radius:float -> gradient:CL_Gradient.t -> unit -> unit
val texture : gc:CL_GraphicContext.t -> texture:CL_Texture.t -> quad:CL_Quadf.t -> unit

This is a convenience function. If using repeatedly, it is a lot faster to use CL_PrimitivesArray with gc.draw_primitives instead