#include "painter.h"
-Arc::Arc(Vector p1, double r, double a1, double a2, Object * p/*= NULL*/): Object(p1, p),
- radius(r), startAngle(a1), angleSpan(a2)
+Arc::Arc(Vector p1, double r, double a1, double a2, Object * p/*= NULL*/):
+ Object(p1, p), /*type(OTArc),*/ radius(r), startAngle(a1), angleSpan(a2)
{
+ // This is in the base class, why can't we use the contructor to fill it???
+ type = OTArc;
}
state = oldState;
}
+
+/*virtual*/ QRectF Arc::Extents(void)
+{
+#warning "!!! Arc extents not calculated !!!"
+ return QRectF();
+}
+
+
#if 0
/*virtual*/ bool Arc::NeedsUpdate(void)
{
#endif
+#if 0
+/*virtual*/ ObjectType Arc::Type(void)
+{
+ return OTArc;
+}
+#endif
+
+
/*
start = 350, span = 20, end = 10, angle = 5
angle < start, so angle = 365