diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-09-18 17:42:51 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-09-18 17:42:51 +0000 |
| commit | 1ae6235112448547c758dd643a9ddd267a6cd580 (patch) | |
| tree | 2bb449941d10f4b71629a75d741465429e0ebfa0 /src/spiral-context.cpp | |
| parent | Some NR::Point ==> Geom::Point replacements (diff) | |
| download | inkscape-1ae6235112448547c758dd643a9ddd267a6cd580.tar.gz inkscape-1ae6235112448547c758dd643a9ddd267a6cd580.zip | |
More NR ==> Geom conversion (points and some matrices/transforms)
(bzr r6836)
Diffstat (limited to 'src/spiral-context.cpp')
| -rw-r--r-- | src/spiral-context.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/spiral-context.cpp b/src/spiral-context.cpp index 431e611c5..1e341e3d1 100644 --- a/src/spiral-context.cpp +++ b/src/spiral-context.cpp @@ -50,7 +50,7 @@ static void sp_spiral_context_set(SPEventContext *ec, gchar const *key, gchar co static gint sp_spiral_context_root_handler(SPEventContext *event_context, GdkEvent *event); -static void sp_spiral_drag(SPSpiralContext *sc, NR::Point p, guint state); +static void sp_spiral_drag(SPSpiralContext *sc, Geom::Point p, guint state); static void sp_spiral_finish(SPSpiralContext *sc); static SPEventContextClass *parent_class; @@ -294,8 +294,8 @@ sp_spiral_context_root_handler(SPEventContext *event_context, GdkEvent *event) // motion notify coordinates as given (no snapping back to origin) event_context->within_tolerance = false; - NR::Point const motion_w(event->motion.x, event->motion.y); - Geom::Point motion_dt(to_2geom(event_context->desktop->w2d(motion_w))); + Geom::Point const motion_w(event->motion.x, event->motion.y); + Geom::Point motion_dt(event_context->desktop->w2d(motion_w)); SnapManager &m = desktop->namedview->snap_manager; m.setup(desktop, true, sc->item); @@ -411,7 +411,7 @@ sp_spiral_context_root_handler(SPEventContext *event_context, GdkEvent *event) } static void -sp_spiral_drag(SPSpiralContext *sc, NR::Point p, guint state) +sp_spiral_drag(SPSpiralContext *sc, Geom::Point p, guint state) { SPDesktop *desktop = SP_EVENT_CONTEXT(sc)->desktop; |
