aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-01-04 14:34:51 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-01-10 14:47:44 +0000
commit7599fbffbf8ad88fa4487cd7d8bad90eb0b2d952 (patch)
tree74fc5d36fb66209f4c5d09fd0f2146d4eedf910d
parent81d204e2a5118b2d81862fa9d9a45e5522396a45 (diff)
NVPR: Take X axis rotation into account for PathArc
Change-Id: I70238e0e4b458ddfde9f32c40b76382c1a183e98 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
-rw-r--r--src/quick/items/qquickpathitemnvprrenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickpathitemnvprrenderer.cpp b/src/quick/items/qquickpathitemnvprrenderer.cpp
index bd88023891..5641d33f85 100644
--- a/src/quick/items/qquickpathitemnvprrenderer.cpp
+++ b/src/quick/items/qquickpathitemnvprrenderer.cpp
@@ -242,7 +242,7 @@ void QQuickPathItemNvprRenderer::convertPath(const QQuickPath *path)
m_path.cmd.append(cmd);
m_path.coord.append(o->radiusX());
m_path.coord.append(o->radiusY());
- m_path.coord.append(0.0f); // X axis rotation
+ m_path.coord.append(o->xAxisRotation());
appendCoords(&m_path.coord, o, &pos);
} else {
qWarning() << "PathItem/NVPR: unsupported Path element" << e;