summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-11-27 15:17:25 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-11-30 13:46:42 (GMT)
commit0f61a0f1ce02bb0248cb87055240a8a474dce452 (patch)
treea2298af9f2fe2411f7b7ada65ba9f96e48e471ef /src/opengl
parente18bad03dd51aed881a86715bfc17ef0c7fe5af9 (diff)
downloadQt-0f61a0f1ce02bb0248cb87055240a8a474dce452.zip
Qt-0f61a0f1ce02bb0248cb87055240a8a474dce452.tar.gz
Qt-0f61a0f1ce02bb0248cb87055240a8a474dce452.tar.bz2
Fixed the GL2 engine stroker to handle Qt::SvgMiterJoin.
Reviewed-by: Trond
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/gl2paintengineex/qtriangulatingstroker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/gl2paintengineex/qtriangulatingstroker.cpp b/src/opengl/gl2paintengineex/qtriangulatingstroker.cpp
index c78f73f..6082f49 100644
--- a/src/opengl/gl2paintengineex/qtriangulatingstroker.cpp
+++ b/src/opengl/gl2paintengineex/qtriangulatingstroker.cpp
@@ -313,6 +313,7 @@ void QTriangulatingStroker::join(const qreal *pts)
switch (m_join_style) {
case Qt::BevelJoin:
break;
+ case Qt::SvgMiterJoin:
case Qt::MiterJoin: {
// Find out on which side the join should be.
int count = m_vertices.size();