qt5base-lts/tests/auto/other/lancelot/scripts
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
..
aliasing.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
arcs2.qps Further tune curveThreshold setting based on strokeWidth 2015-06-22 08:19:57 +00:00
arcs.qps Adjust autotest files for raster engine to new default pen 2012-10-26 11:53:12 +02:00
background_brush.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
background.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
beziers.qps Adjust autotest files for raster engine to new default pen 2012-10-26 11:53:12 +02:00
bitmaps.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
borderimage.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
brush_pens.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
brushes.qps Add lancelot test to exercise tiled non-ARGB32PM bilinear filtering 2017-03-16 13:46:17 +00:00
clippaths.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
clipping_state.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
clipping.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
cliprects.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
conical_gradients_perspectives.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
conical_gradients.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
dashes.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
degeneratebeziers.qps Fix raster paint error in path joins of tightly bending bezier curves 2019-06-14 11:02:35 +02:00
deviceclipping.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
drawpoints.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
ellipses.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
filltest.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
gradients.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
gradientxform_device.qps Simplify code by factoring out brush transformation for gradients 2017-05-15 22:55:06 +00:00
gradientxform_logical.qps Simplify code by factoring out brush transformation for gradients 2017-05-15 22:55:06 +00:00
gradientxform_object.qps Add ObjectMode coordinate mode to QGradient 2018-06-22 10:42:33 +00:00
hinting.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
image_dpr.qps Fix drawTiledPixmap() and texture-brush painting with high-DPR images 2018-04-25 13:39:28 +00:00
image_formats.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
images2.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
images.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
join_cap_styles_duplicate_control_points.qps Adjust autotest files for raster engine to new default pen 2012-10-26 11:53:12 +02:00
join_cap_styles.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
linear_gradients_perspectives.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
linear_gradients.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
linear_resolving_gradients.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
lineconsistency.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
linedashes2_aa.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
linedashes2.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
linedashes.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
lines2.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
lines3.qps Adjust autotest files for raster engine to new default pen 2012-10-26 11:53:12 +02:00
lines.qps Adjust autotest files for raster engine to new default pen 2012-10-26 11:53:12 +02:00
pathfill.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
paths_aa.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
paths.qps Adjust autotest files for raster engine to new default pen 2012-10-26 11:53:12 +02:00
pens_aa.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
pens_cosmetic.qps Adjust autotest files for raster engine to new default pen 2012-10-26 11:53:12 +02:00
pens.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
perspectives2.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
perspectives.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
pixmap_rotation2.qps Fix bilinear sampling of more than 8x rotated transforms 2016-11-29 15:44:52 +00:00
pixmap_rotation.qps Fix bilinear sampling of more than 8x rotated transforms 2016-11-29 15:44:52 +00:00
pixmap_scaling.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
pixmap_subpixel.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
pixmaps.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
porter_duff2.qps Do not always use argb32pm for subsurfaces 2017-05-31 18:53:57 +00:00
porter_duff.qps Do not always use argb32pm for subsurfaces 2017-05-31 18:53:57 +00:00
primitives.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
radial_gradients_perspectives.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
radial_gradients.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
rasterops.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
richtext.qps Add lancelot tests to verify vertical alignment of inline images 2018-12-03 07:52:55 +00:00
sizes.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
statictext.qps Fixup for text labels in lancelot graphics test 2016-03-31 10:27:39 +00:00
text_perspectives.qps Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
text.qps Fixup for text labels in lancelot graphics test 2016-03-31 10:27:39 +00:00
thinlines.qps Fix aliased painting with non-uniform scaling 2019-04-25 06:07:00 +00:00
tiled_pixmap.qps Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00