diff options
Diffstat (limited to 'src/selection.cpp')
| -rw-r--r-- | src/selection.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/selection.cpp b/src/selection.cpp index 5376311b1..ff444fa98 100644 --- a/src/selection.cpp +++ b/src/selection.cpp @@ -1,4 +1,4 @@ -/** \file +/* * Per-desktop selection container * * Authors: @@ -414,7 +414,6 @@ Geom::OptRect Selection::documentBounds(SPItem::BBoxType type) const return bbox; } -/** Extract the position of the center from the first selected object */ // If we have a selection of multiple items, then the center of the first item // will be returned; this is also the case in SelTrans::centerRequest() boost::optional<Geom::Point> Selection::center() const { @@ -434,9 +433,6 @@ boost::optional<Geom::Point> Selection::center() const { } } -/** - * Compute the list of points in the selection that are to be considered for snapping from. - */ std::vector<Inkscape::SnapCandidatePoint> Selection::getSnapPoints(SnapPreferences const *snapprefs) const { GSList const *items = const_cast<Selection *>(this)->itemList(); @@ -458,6 +454,7 @@ std::vector<Inkscape::SnapCandidatePoint> Selection::getSnapPoints(SnapPreferenc return p; } + // TODO: both getSnapPoints and getSnapPointsConvexHull are called, subsequently. Can we do this more efficient? // Why do we need to include the transformation center in one case and not the other? std::vector<Inkscape::SnapCandidatePoint> Selection::getSnapPointsConvexHull(SnapPreferences const *snapprefs) const { |
