From 8a82b2a742cb2798a44eae4223c5b6d149d51038 Mon Sep 17 00:00:00 2001 From: corvid Date: Mon, 22 Aug 2011 00:44:42 +0000 Subject: use the angle args in drawArc --- dw/fltkviewbase.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dw/fltkviewbase.cc') 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, -- cgit v1.2.3