X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Fgrid.h;fp=src%2Fbase%2Fgrid.h;h=0000000000000000000000000000000000000000;hb=9f6ad3fe0b9cb30115a5d38e8af3aebed0d70c08;hp=b037bf0553a60bb89bd9bcca56286386adc98360;hpb=43c13b052d069ba435277d93867380d00c04931f;p=architektonas diff --git a/src/base/grid.h b/src/base/grid.h deleted file mode 100644 index b037bf0..0000000 --- a/src/base/grid.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef __GRID_H__ -#define __GRID_H__ - -#include - -//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