#include <rs_preview.h>
Inheritance diagram for RS_Preview:

Public Member Functions | |
| RS_Preview (RS_EntityContainer *parent=NULL) | |
| Constructor. | |
| ~RS_Preview () | |
| Destructor. | |
| void | addPreviewEntity (RS_Entity *entity, RS_EntityContainer *subContainer=NULL) |
| Adds an entity to this preview and removes any attributes / layer connectsions before that. | |
| void | addRectangle (const RS_Vector &v1, const RS_Vector &v2, RS_EntityContainer *subContainer=NULL) |
| Adds an entity to this preview. | |
| void | addCloneOf (RS_Entity *entity) |
| Clones the given entity and adds the clone to the preview. | |
| void | addAllFrom (RS_EntityContainer &container, RS_EntityContainer *subContainer=NULL) |
| Adds all entities from 'container' to the preview (unselected). | |
| void | addSelectionFrom (RS_EntityContainer &srcContainer, RS_EntityContainer *subContainer=NULL) |
| Adds all selected entities from 'container' to the preview (unselected). | |
| void | addStretchablesFrom (RS_EntityContainer &container, const RS_Vector &v1, const RS_Vector &v2, RS_EntityContainer *subContainer=NULL) |
| Adds all entities in the given range and those which have endpoints in the given range to the preview. | |
| void | addMeasuringLine (const RS_Vector &p1, const RS_Vector &p2, RS_GraphicView &graphicView) |
| Adds a measuring line. | |
| void | addMeasuringArc (const RS_Vector ¢er, const RS_Vector &p1, const RS_Vector &p2, const RS_Vector &position, RS_GraphicView &graphicView) |
| void | addMeasuringArea (RS_InfoArea &area, RS_GraphicView &graphicView) |
| void | addMeasuringLabel (const RS_String &label, const RS_Vector &position, double direction, RS_GraphicView &graphicView) |
| Adds a label typically used to display a measuring result. | |
Static Public Member Functions | |
| static RS_Pen | getPreviewPen () |
| static RS_Pen | getPreviewInfoPen () |
The RS_Snapper class uses an instance of RS_Preview to preview entities, ranges, lines, arcs, ... on the fly.
|
||||||||||||||||||||
|
Adds a label typically used to display a measuring result.
|
|
||||||||||||
|
Adds an entity to this preview and removes any attributes / layer connectsions before that. This function ensures that the preview will not get too big and might actually drop or simplify entities. |
|
||||||||||||||||
|
Adds an entity to this preview. The entity is always added. This can be used for crucial preview entities such as a label of a measuring tool. |
|
||||||||||||
|
Adds all selected entities from 'container' to the preview (unselected).
|
|
||||||||||||||||||||
|
Adds all entities in the given range and those which have endpoints in the given range to the preview. Invisible and locked entities are not added. |
1.4.4