diff --git a/src/selection.h b/src/selection.h
index 34de82c7ce7df69d7c3dbe0776edb73df2d3580b..d8427108f344eece726a6846e5e5b66f2ded30ed 100644 (file)
--- a/src/selection.h
+++ b/src/selection.h
#include "gc-anchored.h"
#include "gc-soft-ptr.h"
#include "util/list.h"
+#include "sp-item.h"
class SPItem;
guint numberOfParents();
/** @brief Returns the bounding rectangle of the selection */
- NRRect *bounds(NRRect *dest) const;
+ NRRect *bounds(NRRect *dest, SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const;
/** @brief Returns the bounding rectangle of the selection */
- NR::Maybe<NR::Rect> bounds() const;
+ NR::Maybe<NR::Rect> bounds(SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const;
/**
* @brief Returns the bounding rectangle of the selection
*
* \todo how is this different from bounds()?
*/
- NRRect *boundsInDocument(NRRect *dest) const;
+ NRRect *boundsInDocument(NRRect *dest, SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const;
/**
* @brief Returns the bounding rectangle of the selection
*
* \todo how is this different from bounds()?
*/
- NR::Maybe<NR::Rect> boundsInDocument() const;
+ NR::Maybe<NR::Rect> boundsInDocument(SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const;
/**
* @brief Returns the rotation/skew center of the selection