We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de7f11e commit 9bdf2f9Copy full SHA for 9bdf2f9
1 file changed
src/gui/include/gui/gui.h
@@ -216,6 +216,7 @@ class Painter
216
217
// Draw a line with coordinates in DBU with the current pen
218
virtual void drawLine(const odb::Point& p1, const odb::Point& p2) = 0;
219
+ void drawLine(const odb::Line& line) { drawLine(line.pt0(), line.pt1()); }
220
221
// Draw a circle with coordinates in DBU with the current pen
222
virtual void drawCircle(int x, int y, int r) = 0;
0 commit comments