The OpenD Programming Language

Context.arcNegative

Adds a circular arc of the given radius to the current path. The arc is centered at center, begins at angle1 and proceeds in the direction of decreasing angles to end at angle2. If angle2 is greater than angle1 it will be progressively decreased by 2*PI until it is less than angle1.

See arc() for more details. This function differs only in the direction of the arc between the two angles.

  1. void arcNegative(Point!double center, double radius, double angle1, double angle2)
  2. void arcNegative(double centerX, double centerY, double radius, double angle1, double angle2)
    struct Context
    void
    arcNegative
    (
    double centerX
    ,
    double centerY
    ,
    double radius
    ,
    double angle1
    ,
    double angle2
    )

Parameters

radius double

the radius of the arc

angle1 double

the start angle, in radians

angle2 double

the end angle, in radians

Meta