4 #include "rs_entitycontainer.h"
9 * This class supports previewing. The RS_Snapper class uses
10 * an instance of RS_Preview to preview entities, ranges,
11 * lines, arcs, ... on the fly.
13 * @author Andrew Mustun
15 class RS_Preview: public RS_EntityContainer
18 RS_Preview(RS_EntityContainer * parent = NULL);
21 virtual void addEntity(RS_Entity * entity);
22 void addCloneOf(RS_Entity * entity);
23 virtual void addSelectionFrom(RS_EntityContainer & container);
24 virtual void addAllFrom(RS_EntityContainer & container);
25 virtual void addStretchablesFrom(RS_EntityContainer & container,
26 const Vector & v1, const Vector & v2);