summaryrefslogtreecommitdiffstats
path: root/src/livarot/Shape.cpp
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2013-07-01 21:51:53 +0000
committerapenner <penner@vaxxine.com>2013-07-01 21:51:53 +0000
commitced7761e69301a40944684fd295a04ea9e736c24 (patch)
tree29fc25fc5a67870d3bd6d7e44d3467b3538fbf9c /src/livarot/Shape.cpp
parentLPE bend path: fix crash on "uskeleton.cuts.back()" because of empty uskeleton. (diff)
downloadinkscape-ced7761e69301a40944684fd295a04ea9e736c24.tar.gz
inkscape-ced7761e69301a40944684fd295a04ea9e736c24.zip
Shape calculations. do not quantize the coordinates. (Bug 168158)
Fixed bugs: - https://launchpad.net/bugs/168158 (bzr r12399)
Diffstat (limited to 'src/livarot/Shape.cpp')
-rw-r--r--src/livarot/Shape.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/livarot/Shape.cpp b/src/livarot/Shape.cpp
index c29444a33..130b1b03a 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;