6 class Circle: public Object
9 Circle(Vector, 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 HitTest(Point);
18 virtual void Enumerate(FILE *);
19 virtual Object * Copy(void);
20 virtual QRectF Extents(void);
23 void SaveHitState(void);
24 bool HitStateChanged(void);
27 double radius; // Center is Object::position
28 Vector dragPoint; // Used for rendering edge dragging
33 bool objectWasDragged;
34 bool hitCenter, hitCircle;
35 bool oldHitCenter, oldHitCircle;
39 #endif // __CIRCLE_H__