package graphv_webgl

  1. Overview
  2. Docs

Module Graphv_webgl.PathSource

Draw shapes.

Sourceval begin_ : t -> unit
Sourceval close : t -> unit
Sourceval move_to : t -> x:float -> y:float -> unit
Sourceval line_to : t -> x:float -> y:float -> unit
Sourceval bezier_to : t -> c1x:float -> c1y:float -> c2x:float -> c2y:float -> x:float -> y:float -> unit
Sourceval quad_to : t -> cx:float -> cy:float -> x:float -> y:float -> unit
Sourceval rect : t -> x:float -> y:float -> w:float -> h:float -> unit
Sourceval winding : t -> winding:Winding.t -> unit
Sourceval arc : t -> cx:float -> cy:float -> r:float -> a0:float -> a1:float -> dir:Winding.t -> unit
Sourceval arc_to : t -> x1:float -> y1:float -> x2:float -> y2:float -> radius:float -> unit
Sourceval ellipse : t -> cx:float -> cy:float -> rx:float -> ry:float -> unit
Sourceval circle : t -> cx:float -> cy:float -> r:float -> unit
Sourceval rounded_rect : t -> x:float -> y:float -> w:float -> h:float -> r:float -> unit
Sourceval 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