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 void Enumerate(FILE *);
18 virtual QRectF Extents(void);
19 // virtual Object * Copy(void);
20 // virtual ObjectType Type(void);
25 bool StateChanged(void);
28 double radius; // Center is Object::position
29 Vector dragPoint; // Used for rendering edge dragging
34 bool objectWasDragged;
35 bool hitCenter, hitCircle;
36 bool oldHitCenter, oldHitCircle;
39 #endif // __CIRCLE_H__