qt5base-lts/tests/auto/gui
Eirik Aavitsland d5c6335ff3 Fix rasterization errors in aliased cosmetic drawPolyLine
If a cosmetic polyline contained a 1-pixel segment, the next segment
would be drawn with wrong starting point.

The original fix for QTBUG-26156 had some unwanted side effects
(QTBUG-31579 and now QTBUG-42398). It tried to skip start-point update
if stroke() did not actually draw anything (because the segment was
too small). However, to determine that, it tested for a change in
lastPixel. But that was not failsafe; in some cases (1-pixel segment),
lastPixel could be unchanged even though the segment had been
drawn. With this change, we instead test directly whether stroke()
skipped the segment or not.

Task-number: QTBUG-42398
Change-Id: Id751db69a18cd1af4f45070db9d5698aa532d22a
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
2015-03-19 09:01:08 +00:00
..
image Fix another crash when converting format of buffer-created QImage 2015-03-04 10:53:00 +00:00
itemmodels Don't crash with invalid QModelIndex or when QTreeWidgetItem is NULL in mimeData() 2015-02-06 09:43:38 +00:00
kernel Prospective stabilization fix for tst_qwindow::positioning(default) 2014-12-18 17:56:03 +01:00
math3d Update license headers and add new license files 2014-09-24 12:26:19 +02:00
painting Fix rasterization errors in aliased cosmetic drawPolyLine 2015-03-19 09:01:08 +00:00
qopengl Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qopenglconfig Add qopenglconfig test. 2015-02-02 23:05:41 +00:00
text Fix drawing of background for multipage QTextTable cells 2015-03-02 06:07:18 +00:00
util Observe QLocale::RejectGroupSeparator in QInt/DoubleValidator. 2014-11-20 16:38:23 +01:00
gui.pro Add qopenglconfig test. 2015-02-02 23:05:41 +00:00