ArcTo adds a circular arc to the current figure of the DrawPath. You pass it the center of the arc, its radius in radians, the starting angle (couterclockwise) in radians, and the number of radians the arc should sweep (counterclockwise). A line segment is drawn from the current point to the start o
(xCenter float64, yCenter float64, radius float64, startAngle float64, sweep float64, isNegative bool)
| 104 | // the current point to the start of the arc. The current point is set to |
| 105 | // the end of the arc. |
| 106 | func (p *DrawPath) ArcTo(xCenter float64, yCenter float64, radius float64, startAngle float64, sweep float64, isNegative bool) { |
| 107 | C.uiDrawPathArcTo(p.p, |
| 108 | C.double(xCenter), C.double(yCenter), |
| 109 | C.double(radius), |
| 110 | C.double(startAngle), C.double(sweep), |
| 111 | frombool(isNegative)) |
| 112 | } |
| 113 | |
| 114 | // BezierTo adds a cubic Bezier curve to the current figure of the |
| 115 | // DrawPath. Its start point is the current point. c1x and c1y are the |
nothing calls this directly
no test coverage detected