diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2011-08-27 16:05:32 +0000 |
|---|---|---|
| committer | Krzysztof Kosinski <tweenk.pl@gmail.com> | 2011-08-27 16:05:32 +0000 |
| commit | d6af1140ee108cc7d7fb6e0ba89ff7e30bb7ad3a (patch) | |
| tree | 69ea9c65f725d83ae1bc267ea5a0358a1bc1d793 /src/pencil-context.cpp | |
| parent | Remove all NRRect use. (diff) | |
| download | inkscape-d6af1140ee108cc7d7fb6e0ba89ff7e30bb7ad3a.tar.gz inkscape-d6af1140ee108cc7d7fb6e0ba89ff7e30bb7ad3a.zip | |
Completely remove NRRect, NRRectL, in-svg-plane.h
(bzr r10582.1.6)
Diffstat (limited to 'src/pencil-context.cpp')
| -rw-r--r-- | src/pencil-context.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp index 57205a436..d823c1daa 100644 --- a/src/pencil-context.cpp +++ b/src/pencil-context.cpp @@ -34,7 +34,6 @@ #include <2geom/bezier-utils.h> #include "display/canvas-bpath.h" #include <glibmm/i18n.h> -#include "libnr/in-svg-plane.h" #include "context-fns.h" #include "sp-namedview.h" #include "xml/repr.h" @@ -69,6 +68,8 @@ static SPDrawContextClass *pencil_parent_class; static Geom::Point pencil_drag_origin_w(0, 0); static bool pencil_within_tolerance = false; +static bool in_svg_plane(Geom::Point const &p) { return Geom::LInfty(p) < 1e18; } + /** * Register SPPencilContext class with Gdk and return its type number. */ |
