class Grid

class for showing the grid and snapping points to discrete point positions.

Public Methods

Grid (Config *c, DrawWindow *d, Viewer *v)
virtual ~Grid ()
void SetSnap (bool set)
set snapping to continuous or discrete.
void PointDistance ()
make popup for asking the point distance.
void GridSize ()
make popup for asking the grid size.
void SetShowGrid (bool set)
set showing of grid.
bool IsShowGrid () const
void Snap (Point *)
Snap point to point-position.
int Snap (int)
Snap int to point-position.
void DrawGrid ()
draw grid.
void SetPointDistance (int i)
set point distance to i.
void SetGridSize (int i)
set grid size to i.
DrawWindow* GetMainWindow () const
Config* GetConfig () const
ScaleDialog* GetScaleDialog () const

Documentation

class for showing the grid and snapping points to discrete point positions.
Grid(Config *c, DrawWindow *d, Viewer *v)

virtual ~Grid()

void SetSnap(bool set)
set snapping to continuous or discrete.

void PointDistance()
make popup for asking the point distance.

void GridSize()
make popup for asking the grid size.

void SetShowGrid(bool set)
set showing of grid.

bool IsShowGrid() const

void Snap(Point *)
Snap point to point-position.

int Snap(int)
Snap int to point-position.

void DrawGrid()
draw grid.

void SetPointDistance(int i)
set point distance to i.

void SetGridSize(int i)
set grid size to i.

DrawWindow* GetMainWindow() const

Config* GetConfig() const

ScaleDialog* GetScaleDialog() const


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de