diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-11-13 12:22:41 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-11-16 15:22:11 (GMT) |
commit | 3c6361c102cb440af20f43bd4a74cd0f453f935b (patch) | |
tree | eef1dbc1c5877003942df59b7372167cbce92c7e /doc/src/snippets/code/src_opengl_qgl.cpp | |
parent | d1d4496cea2c745130bf9d6ca5c54012f1cbd14b (diff) | |
download | Qt-3c6361c102cb440af20f43bd4a74cd0f453f935b.zip Qt-3c6361c102cb440af20f43bd4a74cd0f453f935b.tar.gz Qt-3c6361c102cb440af20f43bd4a74cd0f453f935b.tar.bz2 |
Fixed stroking of discontinuous paths with the GL2 engine.
Since the stroke is rendered as a triangle strip, zero area triangles
must be inserted in order to have gaps in the stroke. This is achieved
by duplicating vertices before and after each gap. It was already done
for open subpaths. This commit fixes gaps between closed subpaths.
Task-number: QTBUG-5736
Reviewed-by: Gunnar
(cherry picked from commit aff0df17051c4f251c86bc4d7929930e39514742)
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qgl.cpp')
0 files changed, 0 insertions, 0 deletions