6 class Arc: public Object
9 Arc(Vector, double, double, double, Object * p = 0);
12 virtual void Draw(Painter *);
13 virtual Vector Center(void);
14 virtual bool Collided(Vector);
15 virtual void PointerMoved(Vector);
16 virtual void PointerReleased(void);
17 // virtual bool NeedsUpdate(void);
20 bool AngleInArcSpan(double angle);
23 double radius; // Center is Object::position
24 double startAngle; // Starting angle in radians
25 double angleSpan; // # of degrees the arc spans in radians
28 bool hitHandle1; // Moving
29 bool hitHandle2; // Rotation
30 bool hitHandle3; // Setting span of the arc
31 bool hitHandle4; // Resizing
32 bool objectWasDragged;
33 Vector oldPoint; // Used for dragging
34 double oldAngle; // Used for user feedback
35 double oldRadius; // Used for user feedback