+++ /dev/null
-#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