qt5base-lts/tests/auto/other/lancelot
Eirik Aavitsland 66c3a71e91 Painter path stroking: fix capping of beziers ending in tight turns
For some overly tight beziers where the start or end point and the
next control point are closer than the pen width, the stroker's
shifting algorithm will produce a start/end tangent pointing in the
opposite direction from what is expected, for one of the sides. This
would break the square and round capping logic. Fix by detecting the
situation in the capping function and reversing the tangent when
necessary.

Change-Id: I48f4f017403d7b289b0483dd2b3a7ff1bbd0cf2a
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2019-02-05 22:47:16 +00:00
..
images Purge sRGB chunks from PNGs in tests. 2016-03-29 08:39:43 +00:00
scripts Painter path stroking: fix capping of beziers ending in tight turns 2019-02-05 22:47:16 +00: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