summaryrefslogtreecommitdiffstats
path: root/src/display/canvas-axonomgrid.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-09-18 17:48:42 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-09-18 17:48:42 +0000
commit07a2c5b0db916ac9e5dee3bcbafcb12d8e767fa8 (patch)
tree3a4c8c7f4f8de2878adbe5eabaf75460d35b8bcb /src/display/canvas-axonomgrid.h
parentNR ==> Geom conversion in sp-canvas (diff)
downloadinkscape-07a2c5b0db916ac9e5dee3bcbafcb12d8e767fa8.tar.gz
inkscape-07a2c5b0db916ac9e5dee3bcbafcb12d8e767fa8.zip
Next roud of NR ==> Geom conversion
(bzr r6839)
Diffstat (limited to 'src/display/canvas-axonomgrid.h')
-rw-r--r--src/display/canvas-axonomgrid.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/display/canvas-axonomgrid.h b/src/display/canvas-axonomgrid.h
index f8dc8e25a..1d255d798 100644
--- a/src/display/canvas-axonomgrid.h
+++ b/src/display/canvas-axonomgrid.h
@@ -7,7 +7,6 @@
*/
#include <display/sp-canvas.h>
-#include <libnr/nr-coord.h>
#include "xml/repr.h"
#include <gtkmm/box.h>
@@ -35,7 +34,7 @@ public:
CanvasAxonomGrid(SPNamedView * nv, Inkscape::XML::Node * in_repr, SPDocument * in_doc);
virtual ~CanvasAxonomGrid();
- void Update (NR::Matrix const &affine, unsigned int flags);
+ void Update (Geom::Matrix const &affine, unsigned int flags);
void Render (SPCanvasBuf *buf);
void readRepr();
@@ -48,13 +47,13 @@ public:
bool scaled; /**< Whether the grid is in scaled mode */
- NR::Point ow; /**< Transformed origin by the affine for the zoom */
+ Geom::Point ow; /**< Transformed origin by the affine for the zoom */
double lyw; /**< Transformed length y by the affine for the zoom */
double lxw_x;
double lxw_z;
double spacing_ylines;
- NR::Point sw; /**< the scaling factors of the affine transform */
+ Geom::Point sw; /**< the scaling factors of the affine transform */
protected:
virtual Gtk::Widget * newSpecificWidget();