Package: cairo

Function cairo:arc-negative

Lambda List

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

Arguments

cr -- a cairo:context-t instance
x -- a number for the x position of the center of the arc
y -- a number for the y position of the center of the arc
radius -- a number for the radius of the arc
angle1 -- a number for the start angle, in radians
angle2 -- a number for 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.

Notes

The numbers for the arguments are coerced to double floats before being passed to the foreign C function.
 

See also

2025-1-14