qt5base-lts/tests/auto/other/lancelot
Eirik Aavitsland 1640973a82 Fix raster paint error in path joins of tightly bending bezier curves
The code for generating round line joins is optimized with a shortcut
for the inner, normally invisible joins.  For certain joins of a
tightly turning bezier, this optimization would lead to visible
painting error. Fix by avoiding the optimization if the next control
point is so close as to allow such tight turns.

As a driveby, make the angle > 90 test cheaper, since absolute
precision is not required in the optimization choice.

Fixes: QTBUG-75008
Change-Id: I293e0776003310dc36fa7f43fbcd9c25f1f8fa5d
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2019-06-14 11:02:35 +02:00
..
images Purge sRGB chunks from PNGs in tests. 2016-03-29 08:39:43 +00:00
scripts Fix raster paint error in path joins of tightly bending bezier curves 2019-06-14 11:02:35 +02:00
.gitignore Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
images.qrc Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
lancelot.pro Do not always use argb32pm for subsurfaces 2017-05-31 18:53:57 +00:00
paintcommands.cpp Add lancelot tests to verify vertical alignment of inline images 2018-12-03 07:52:55 +00:00
paintcommands.h Add lancelot tests to verify vertical alignment of inline images 2018-12-03 07:52:55 +00:00
tst_lancelot.cpp Fix HDR format in QOpenGLFramebufferObject::toImage() 2018-06-06 10:48:36 +00:00