Function 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.
Prototypes
void arcNegative(
Point!(double) center,
double radius,
double angle1,
double angle2
);
void arcNegative(
double centerX,
double centerY,
double radius,
double angle1,
double angle2
);
Parameters
Name | Description |
radius | the radius of the arc |
angle1 | the start angle, in radians |
angle2 | the end angle, in radians |
Authors
Johannes Pfau | cairoD |
Andrej Mitrovic | cairoD |
cairo team | cairo |