diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2011-10-27 04:55:51 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2011-10-27 04:55:51 +0000 |
| commit | 2633767789e4264b13ef91a684accf734fb4e94f (patch) | |
| tree | 0f6bc8d758b8e4bcf01d2dd393166907906c156e /src/selection.cpp | |
| parent | Cleanup pass on documentation that was dumping garbage into doxygen output. (diff) | |
| download | inkscape-2633767789e4264b13ef91a684accf734fb4e94f.tar.gz inkscape-2633767789e4264b13ef91a684accf734fb4e94f.zip | |
Fixing more broken and split doc comments.
(bzr r10697)
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 { |
