8 class Line: public Object
11 Line(Vector, Vector, Object * p = 0);
14 virtual void Draw(QPainter *);
15 virtual Vector Center(void);
16 virtual bool Collided(Vector);
17 virtual void PointerMoved(Vector);
18 virtual void PointerReleased(void);
19 void SetDimensionOnPoint1(Dimension *);
20 void SetDimensionOnPoint2(Dimension *);
23 Vector endpoint; // Starting point is Object::position
24 Vector oldPoint; // Used for dragging
30 bool objectWasDragged;