summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dw/fltkviewbase.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/fltkviewbase.cc b/dw/fltkviewbase.cc
index a9cd6bcc..70f271fb 100644
--- a/dw/fltkviewbase.cc
+++ b/dw/fltkviewbase.cc
@@ -471,9 +471,9 @@ void FltkViewBase::drawArc (core::style::Color *color,
int x = translateCanvasXToViewX (centerX) - width / 2;
int y = translateCanvasYToViewY (centerY) - height / 2;
- fl_arc(x, y, width, height, 0.0, 360.0);
+ fl_arc(x, y, width, height, angle1, angle2);
if (filled)
- fl_pie(x, y, width, height, 0.0, 360.0);
+ fl_pie(x, y, width, height, angle1, angle2);
}
void FltkViewBase::drawPolygon (core::style::Color *color,