4 #include "entitycontainer.h"
11 * This class supports previewing. The Snapper class uses
12 * an instance of Preview to preview entities, ranges,
13 * lines, arcs, ... on the fly.
15 * @author Andrew Mustun
17 class Preview: public EntityContainer
20 Preview(EntityContainer * parent = NULL);
23 virtual void addEntity(Entity * entity);
24 void addCloneOf(Entity * entity);
25 virtual void addSelectionFrom(EntityContainer & container);
26 virtual void addAllFrom(EntityContainer & container);
27 virtual void addStretchablesFrom(EntityContainer & container,
28 const Vector & v1, const Vector & v2);
30 void SetOffset(Vector);
32 void SetVisible(bool visibility = true);
34 void Draw(GraphicView *, PaintInterface *);