diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-07-16 21:52:53 +0000 |
|---|---|---|
| committer | Javiertxo <jtx@jtx.marker.es> | 2013-07-16 21:52:53 +0000 |
| commit | 488bfe58fe622fbd7b0d93039d5dd014c69e7884 (patch) | |
| tree | fd4bf21c1ec55f4d8ca2f2b25a2087b057005cd1 /src/livarot/Shape.cpp | |
| parent | Update to trunk (diff) | |
| parent | Shape calculations. re-introduce grid of a smaller size. (http://article.gman... (diff) | |
| download | inkscape-488bfe58fe622fbd7b0d93039d5dd014c69e7884.tar.gz inkscape-488bfe58fe622fbd7b0d93039d5dd014c69e7884.zip | |
Update to trunk
(bzr r11950.1.125)
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; |
