]> Shamusworld >> Repos - architektonas/blobdiff - src/base/grid.h
Major refactor of Architektonas: Jettisoning old cruft.
[architektonas] / src / base / grid.h
diff --git a/src/base/grid.h b/src/base/grid.h
deleted file mode 100644 (file)
index b037bf0..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-#ifndef __GRID_H__
-#define __GRID_H__
-
-#include <QtCore>
-
-//class RS_GraphicView;
-class GraphicView;
-class Vector;
-
-/**
- * This class represents a grid. Grids can be drawn on graphic
- * views and snappers can snap to the grid points.
- *
- * @author Andrew Mustun
- */
-class Grid
-{
-       public:
-//             Grid(RS_GraphicView *);
-               Grid(GraphicView *);
-               ~Grid();
-
-               void update();
-
-               Vector * getPoints();
-               int count();
-               QString getInfo();
-               double * getMetaX();
-               int countMetaX();
-               double * getMetaY();
-               int countMetaY();
-
-       protected:
-               //! Graphic view this grid is connected to.
-//             RS_GraphicView * graphicView;
-               GraphicView * graphicView;
-
-               //! Current grid spacing
-               double spacing;
-               //! Current meta grid spacing
-               double metaSpacing;
-
-               //! Pointer to array of grid points
-               Vector * pt;
-               //! Number of points in the array
-               int number;
-               //! Meta grid positions in X
-               double * metaX;
-               //! Number of meta grid lines in X
-               int numMetaX;
-               //! Meta grid positions in Y
-               double * metaY;
-               //! Number of meta grid lines in Y
-               int numMetaY;
-};
-
-#endif