VKVG  
Vulkan Vector Graphics

◆ vkvg_arc_negative()

void vkvg_arc_negative ( VkvgContext  ctx,
float  xc,
float  yc,
float  radius,
float  a1,
float  a2 
)

Adds a circular arc in counter clockwise order of the given radius to the current path following angles of a trigonometric circle. After this call the current point will be the last computed point of the arc. The arc is centered at (xc,yc), begins at angle a1 and proceeds in the direction of decreasing angles to end at angle a2. If a2 is greater than a1, it will be progressively decreased by 2*PI until it is less than a1.

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

Parameters
ctxThe vkvg context pointer.
xccenter x coordinate
yccenter y coordinate
radiusThe radius of the arc.
a1start angle in radians of the arc as if on a trigonometric circle.
a2end angle in radians of the arc to draw.