diff options
| author | Ralf Stephan <ralf@ark.in-berlin.de> | 2006-02-15 19:04:29 +0000 |
|---|---|---|
| committer | rwst <rwst@users.sourceforge.net> | 2006-02-15 19:04:29 +0000 |
| commit | 7b0114087822b9f011d740f1279d1d9ed983a88c (patch) | |
| tree | 159bd147d5a3b2daa65b327dd3f5d0b2e764eeb9 /src/selection.cpp | |
| parent | fix 1432089: stroke is not drawn not only when it's not set but also when it'... (diff) | |
| download | inkscape-7b0114087822b9f011d740f1279d1d9ed983a88c.tar.gz inkscape-7b0114087822b9f011d740f1279d1d9ed983a88c.zip | |
bulk trailing spaces removal. consistency through MD5 of binary
(bzr r149)
Diffstat (limited to 'src/selection.cpp')
| -rw-r--r-- | src/selection.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/selection.cpp b/src/selection.cpp index aa77ef894..c40b7b546 100644 --- a/src/selection.cpp +++ b/src/selection.cpp @@ -357,20 +357,20 @@ std::vector<NR::Point> Selection::getSnapPointsConvexHull() const { for (GSList const *iter = items; iter != NULL; iter = iter->next) { sp_item_snappoints(SP_ITEM(iter->data), SnapPointsIter(p)); } - - std::vector<NR::Point>::iterator i; + + std::vector<NR::Point>::iterator i; NR::ConvexHull cvh(*(p.begin())); for (i = p.begin(); i != p.end(); i++) { // these are the points we get back - cvh.add(*i); + cvh.add(*i); } - - NR::Rect rHull = cvh.bounds(); - std::vector<NR::Point> pHull(4); - pHull[0] = rHull.corner(0); - pHull[1] = rHull.corner(1); - pHull[2] = rHull.corner(2); - pHull[3] = rHull.corner(3); + + NR::Rect rHull = cvh.bounds(); + std::vector<NR::Point> pHull(4); + pHull[0] = rHull.corner(0); + pHull[1] = rHull.corner(1); + pHull[2] = rHull.corner(2); + pHull[3] = rHull.corner(3); return pHull; } |
