The OpenD Programming Language

Context.curveTo

Adds a cubic Bézier spline to the path from the current point to position p3 in user-space coordinates, using p1 and p2 as the control points. After this call the current point will be p3.

If there is no current point before the call to curveTo() this function will behave as if preceded by a call to moveTo(p1).

  1. void curveTo(Point!double p1, Point!double p2, Point!double p3)
  2. void curveTo(double p1x, double p1y, double p2x, double p2y, double p3x, double p3y)
    struct Context
    void
    curveTo
    (
    double p1x
    ,
    double p1y
    ,
    double p2x
    ,
    double p2y
    ,
    double p3x
    ,
    double p3y
    )

Meta