|
QCAD Application Framework
CAD Application Development and Automation.
|
Abstract base class for grid implementations. More...
#include <RGrid.h>
Public Member Functions | |
| virtual QString | getInfoText ()=0 |
| virtual void | paint (RGraphicsView &view)=0 |
| This is called by the graphics view this grid is attached to whenever the grid should be painted. | |
| virtual void | paintMetaGrid (RGraphicsView &view)=0 |
| This is called by the graphics view this grid is attached to whenever the meta grid should be painted. | |
| virtual void | paintRuler (RGraphicsView &view, RRuler &ruler)=0 |
| RGrid () | |
| virtual RVector | snapToGrid (RGraphicsView &view, const RVector &positionUcs)=0 |
| Snaps the given UCS position to the grid. | |
| virtual void | update (RGraphicsView &view, bool force=false)=0 |
| This is called by the graphics view this grid is attached to whenever the view port changes and the grid needs to be updated. | |
| virtual | ~RGrid () |
Abstract base class for grid implementations.
A grid class can for example implement an orthogonal grid or a polar grid.
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in ROrthoGrid.
|
pure virtual |
This is called by the graphics view this grid is attached to whenever the grid should be painted.
Implemented in ROrthoGrid.
|
pure virtual |
This is called by the graphics view this grid is attached to whenever the meta grid should be painted.
Implemented in ROrthoGrid.
|
pure virtual |
Implemented in ROrthoGrid.
|
pure virtual |
Snaps the given UCS position to the grid.
Implemented in ROrthoGrid.
|
pure virtual |
This is called by the graphics view this grid is attached to whenever the view port changes and the grid needs to be updated.
Implemented in ROrthoGrid.