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/selection.h | |
| 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 '')
| -rw-r--r-- | src/selection.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/selection.h b/src/selection.h index f02aeb456..2e7bddf81 100644 --- a/src/selection.h +++ b/src/selection.h @@ -21,7 +21,7 @@ #include <list> #include <sigc++/sigc++.h> -#include "libnr/nr-rect.h" +//#include "libnr/nr-rect.h" #include "libnr/nr-convex-hull.h" #include "forward.h" #include "gc-managed.h" @@ -244,6 +244,7 @@ public: NRRect *bounds(NRRect *dest, SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const; /** @brief Returns the bounding rectangle of the selection */ boost::optional<NR::Rect> bounds(SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const; + boost::optional<Geom::Rect> bounds_2geom(SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const; /** * @brief Returns the bounding rectangle of the selection @@ -262,7 +263,7 @@ public: /** * @brief Returns the rotation/skew center of the selection */ - boost::optional<NR::Point> center() const; + boost::optional<Geom::Point> center() const; /** * @brief Gets the selection's snap points. |
