diff options
Diffstat (limited to 'src/selection.h')
| -rw-r--r-- | src/selection.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/src/selection.h b/src/selection.h index bae368e81..f9368f5ee 100644 --- a/src/selection.h +++ b/src/selection.h @@ -233,7 +233,7 @@ public: /** @brief Returns the bounding rectangle of the selection */ NRRect *bounds(NRRect *dest) const; /** @brief Returns the bounding rectangle of the selection */ - ::NR::Rect bounds() const; + NR::Maybe<NR::Rect> bounds() const; /** * @brief Returns the bounding rectangle of the selection @@ -247,12 +247,12 @@ public: * * \todo how is this different from bounds()? */ - ::NR::Rect boundsInDocument() const; + NR::Maybe<NR::Rect> boundsInDocument() const; /** * @brief Returns the rotation/skew center of the selection */ - ::NR::Point center() const; + NR::Maybe<NR::Point> center() const; /** * @brief Gets the selection's snap points. @@ -267,18 +267,6 @@ public: std::vector<NR::Point> getSnapPointsConvexHull() const; /** - * @return A vector containing the top-left and bottom-right - * corners of each selected object's bounding box. - */ - std::vector<NR::Point> getBBoxPoints() const; - - /** - * @return A vector containing the 2 (bottom-left and upper-right) - * corners of the selection bounding box. - */ - std::vector<NR::Point> getBBoxPointsOuter() const; - - /** * @brief Connects a slot to be notified of selection changes * * This method connects the given slot such that it will |
