Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Draw shapes.
val begin_ : t -> unit
val close : t -> unit
val move_to : t -> x:float -> y:float -> unit
val line_to : t -> x:float -> y:float -> unit
val bezier_to :
t ->
c1x:float ->
c1y:float ->
c2x:float ->
c2y:float ->
x:float ->
y:float ->
unit
val quad_to : t -> cx:float -> cy:float -> x:float -> y:float -> unit
val rect : t -> x:float -> y:float -> w:float -> h:float -> unit
val arc_to :
t ->
x1:float ->
y1:float ->
x2:float ->
y2:float ->
radius:float ->
unit
val ellipse : t -> cx:float -> cy:float -> rx:float -> ry:float -> unit
val circle : t -> cx:float -> cy:float -> r:float -> unit
val rounded_rect :
t ->
x:float ->
y:float ->
w:float ->
h:float ->
r:float ->
unit
val rounded_rect_varying :
t ->
x:float ->
y:float ->
w:float ->
h:float ->
top_left:float ->
top_right:float ->
bot_left:float ->
bot_right:float ->
unit