diff options
| author | Alvin Penner <penner@vaxxine.com> | 2013-07-16 19:46:56 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2013-07-16 19:46:56 +0000 |
| commit | 4e088d33c04329fe57ef987d577f5aa57f83b644 (patch) | |
| tree | 3d47d9583a8c19c015ebc3323ff7463d9d18411f /src/livarot/Shape.cpp | |
| parent | Minor C++ish refactoring pass. (diff) | |
| download | inkscape-4e088d33c04329fe57ef987d577f5aa57f83b644.tar.gz inkscape-4e088d33c04329fe57ef987d577f5aa57f83b644.zip | |
Shape calculations. re-introduce grid of a smaller size. (http://article.gmane.org/gmane.comp.graphics.inkscape.devel/40786)
(bzr r12420)
Diffstat (limited to 'src/livarot/Shape.cpp')
| -rw-r--r-- | src/livarot/Shape.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/livarot/Shape.cpp b/src/livarot/Shape.cpp index 130b1b03a..c29444a33 100644 --- a/src/livarot/Shape.cpp +++ b/src/livarot/Shape.cpp @@ -334,8 +334,8 @@ Shape::AddPoint (const Geom::Point x) pData[n].nextLinkedPoint = -1; pData[n].askForWindingS = NULL; pData[n].askForWindingB = -1; - pData[n].rx[0] = /*Round*/ (p.x[0]); - pData[n].rx[1] = /*Round*/ (p.x[1]); + pData[n].rx[0] = Round(p.x[0]); + pData[n].rx[1] = Round(p.x[1]); } if (_has_voronoi_data) { @@ -2116,8 +2116,8 @@ void Shape::initialisePointData() pData[i].pending = 0; pData[i].edgeOnLeft = -1; pData[i].nextLinkedPoint = -1; - pData[i].rx[0] = /*Round*/ (getPoint(i).x[0]); - pData[i].rx[1] = /*Round*/ (getPoint(i).x[1]); + pData[i].rx[0] = Round(getPoint(i).x[0]); + pData[i].rx[1] = Round(getPoint(i).x[1]); } _point_data_initialised = true; |
