diff --git a/src/selection.h b/src/selection.h
index bae368e8149461633866d43967deec77247e35a6..f9368f5eef5e5898e72460f2abf218057b84151e 100644 (file)
--- a/src/selection.h
+++ b/src/selection.h
/** @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
*
* \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.
*/
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
*