virtual void Translate(Vector);
virtual void Rotate(Vector, double);
virtual void Scale(Vector, double);
+ virtual void Mirror(Point, Point);
+ virtual void Save(void);
+ virtual void Restore(void);
ObjectState GetState(void);
void Reparent(Object *);
// Dimension * GetAttachedDimension(void);
Object * parent;
// Pen pen;
// Fill fill;
+ Point oldPosition;
public:
ObjectType type;
ObjectState state;
+ unsigned int layer;
protected:
ObjectState oldState;
bool needUpdate;
static bool selectionInProgress;
static QRectF selection;
static double gridSpacing; // Grid spacing in base units
+ static int currentLayer;
};
#endif // __OBJECT_H__