summaryrefslogtreecommitdiffstats
path: root/src/livarot/Shape.cpp
diff options
context:
space:
mode:
authorMatthew Petroff <matthew@mpetroff.net>2013-07-02 03:42:25 +0000
committerMatthew Petroff <matthew@mpetroff.net>2013-07-02 03:42:25 +0000
commit70a0fd65c46064941696a5a9366547e1e9d020e2 (patch)
tree1fb73902d467d88b12e978b6de85c0f8f4ca7e9f /src/livarot/Shape.cpp
parentPorted "ui/widget/page-sizer.cpp" and "document.cpp" to "Util::Unit" class. (diff)
parentShape calculations. do not quantize the coordinates. (Bug 168158) (diff)
downloadinkscape-70a0fd65c46064941696a5a9366547e1e9d020e2.tar.gz
inkscape-70a0fd65c46064941696a5a9366547e1e9d020e2.zip
Merge from trunk.
(bzr r12380.1.5)
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;