curveTo method
Draw a cubic bézier curve from the current point to (x3,y3) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve.
Implementation
void curveTo(
double x1, double y1, double x2, double y2, double x3, double y3) {
var o = 0;
assert(() {
if (_page.pdfDocument.settings.verbose) {
o = _buf.offset;
_buf.putString(' ' * (_indent));
}
return true;
}());
PdfNumList([x1, y1, x2, y2, x3, y3]).output(_page, _buf);
_buf.putString(' c ');
assert(() {
if (_page.pdfDocument.settings.verbose) {
_buf.putString(' ' * math.max(0, _commentIndent - _buf.offset + o));
_buf.putComment('curveTo($x1, $y1, $x2, $y2, $x3, $y3)');
}
return true;
}());
}