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);
21 virtual void Mirror(Point, Point);
22 virtual void Save(void);
23 virtual void Restore(void);
26 void SaveHitState(void);
27 bool HitStateChanged(void);
30 double radius; // Center is Object::position
31 Vector dragPoint; // Used for rendering edge dragging
37 bool objectWasDragged;
38 bool hitCenter, hitCircle;
39 bool oldHitCenter, oldHitCircle;
43 #endif // __CIRCLE_H__