addArc method
Adds an arc
Implementation
void addArc(Rect bounds, double startAngle, double sweepAngle) {
final List<List<double>> points = PdfGraphicsHelper.getBezierArcPoints(
bounds.left,
bounds.top,
bounds.left + bounds.width,
bounds.top + bounds.height,
startAngle,
sweepAngle);
final List<double> list = <double>[];
for (int i = 0; i < points.length; ++i) {
final List<double> pt = points[i];
list.clear();
list.addAll(pt);
_addPoints(list, PathPointType.bezier3);
}
}