Package: cairo

Function cairo-arc-negative

Lambda List

cairo-arc-negative (cr x y radius angle1 angle2)

Arguments

cr -- a cairo-t context
x -- a double float x position of the center of the arc
y -- a double float y position of the center of the arc
radius -- a double float with the radius of the arc
angle1 -- a double float with the start angle, in radians
angle2 -- a double float with the end angle, in radians

Details

Adds a circular arc of the given radius to the current path. The arc is centered at (x, y), 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 the cairo-arc function for more details. This function differs only in the direction of the arc between the two angles.
 

See also

2021-12-12