Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val level_of_detail : ctx -> float
val set_winding : ctx -> [< `HOLE | `SOLID | `CW | `CCW ] -> unit
val move_to : ctx -> x:float -> y:float -> unit
val line_to : ctx -> x:float -> y:float -> unit
val bezier_to :
ctx ->
c1x:float ->
c1y:float ->
c2x:float ->
c2y:float ->
x:float ->
y:float ->
unit
val quad_to : ctx -> cx:float -> cy:float -> x:float -> y:float -> unit
val rect : ctx -> x:float -> y:float -> w:float -> h:float -> unit
val round_rect :
ctx ->
x:float ->
y:float ->
w:float ->
h:float ->
r:float ->
unit
val round_rect' :
ctx ->
x:float ->
y:float ->
w:float ->
h:float ->
rtl:float ->
rtr:float ->
rbl:float ->
rbr:float ->
unit
val circle : ctx -> cx:float -> cy:float -> r:float -> unit
val ellipse : ctx -> cx:float -> cy:float -> rx:float -> ry:float -> unit
val arc :
ctx ->
cx:float ->
cy:float ->
r:float ->
a0:float ->
a1:float ->
[< `CW | `CCW ] ->
unit
val arc_to :
ctx ->
x1:float ->
y1:float ->
x2:float ->
y2:float ->
r:float ->
unit
val close : ctx -> unit