// ArcNegative is a wrapper around cairo_arc_negative(). func (v *Context) ArcNegative(xc, yc, radius, angle1, angle2 float64) { C.cairo_arc_negative(v.native(), C.double(xc), C.double(yc), C.double(radius), C.double(angle1), C.double(angle2)) }
func (self *Surface) ArcNegative(xc, yc, radius, angle1, angle2 float64) { C.cairo_arc_negative(self.context, C.double(xc), C.double(yc), C.double(radius), C.double(angle1), C.double(angle2)) }
//ArcNegative adds a circular arc along the surface of circle from fromAngle //decreasing to toAngle. // //If fromAngle > toAngle, then toAngle will be dereased by 2π until //fromAngle < toAngle. // //ArcNegative gives the arc in the direction of decreasing angles. //Use Arc to get the arc in the direction of increasing angles. // //Originally cairo_arc_negative. func (c *Context) ArcNegative(circle Circle, fromAngle, toAngle float64) *Context { x, y, r := circle.c() a1, a2 := C.double(fromAngle), C.double(toAngle) C.cairo_arc_negative(c.c, x, y, r, a1, a2) return c }