X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fselection.h;h=d8427108f344eece726a6846e5e5b66f2ded30ed;hb=17680991ff44a340869f04d7ce00a6889337ed7f;hp=34de82c7ce7df69d7c3dbe0776edb73df2d3580b;hpb=bc76fd7de93d0c4d8fac872142312a61c0207f3c;p=inkscape.git diff --git a/src/selection.h b/src/selection.h index 34de82c7c..d8427108f 100644 --- a/src/selection.h +++ b/src/selection.h @@ -28,6 +28,7 @@ #include "gc-anchored.h" #include "gc-soft-ptr.h" #include "util/list.h" +#include "sp-item.h" class SPItem; @@ -231,23 +232,23 @@ public: 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 bounds() const; + NR::Maybe 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 boundsInDocument() const; + NR::Maybe boundsInDocument(SPItem::BBoxType type = SPItem::APPROXIMATE_BBOX) const; /** * @brief Returns the rotation/skew center of the selection