aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlpropertycachecreator_p.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2023-06-20 14:16:41 +0200
committerPaul Olav Tvete <paul.tvete@qt.io>2023-06-22 20:48:56 +0200
commit4a1e5d8e74e59da3191c27a732ca1a50bd2f0045 (patch)
treec623afeb3a1191d4107dfdf3c8a862189d4e25db /src/qml/qml/qqmlpropertycachecreator_p.h
parent2b9aa54610ce28b634d8e3008c624da6edf46330 (diff)
Improvements to curve renderer
This contains numerous updates/improvements to the curve renderer and the manual test. Most notably, it replaces the Delaunay triangulator with a more robust algorithm which uses qTriangulate() for the internal hull (like the basic code path) and a separate triangulation for curves which adds triangles on the outside and calculates texture coordinates accordingly. This gives antialiasing on straight lines as well. It also has multiple improvements to the cubic-to-quad algorithm, for instance circles now look as they should. Currently, the QTriangulatingStroker is used for solid strokes (causing jagged edges there) and the QPainterPath stroker is used for dash strokes (causing some issues with antialiasing). Pick-to: 6.6 Task-number: QTBUG-104122 Change-Id: Ic195aa874dc73c62359a93764ef38a09efb012e3 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlpropertycachecreator_p.h')
0 files changed, 0 insertions, 0 deletions