drawLine method
Draws a line between two coordinates.
Implementation
void drawLine(double x1, double y1, double x2, double y2) {
assert(() {
if (_page.pdfDocument.verbose) {
_buf.putComment('drawLine x1:$x1 y1:$y1 x2:$x2 y2:$y2');
}
return true;
}());
moveTo(x1, y1);
lineTo(x2, y2);
}