qt5base-lts/tests/auto/gui/image
Allan Sandfeld Jensen f657ecdc5d Fix inplace double mirroring on odd sized images
The QImage inplace mirroring method, failed to handle the middle line
when mirroring both ways (rotate 180). In both other mirroring cases
the middle can be left untouched, but in this case it needs to be
mirrored half way.

To make the logic simpler, double mirroring will now mirror half the
lines instead of half of every line.

Change-Id: Iaa1f1e1c3f7dedfb78891fc93207f6d0c64bcafe
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
2015-04-23 10:14:48 +00:00
..
qicoimageformat Update copyright headers 2015-02-11 06:49:51 +00:00
qicon Update copyright headers 2015-02-11 06:49:51 +00:00
qimage Fix inplace double mirroring on odd sized images 2015-04-23 10:14:48 +00:00
qimageiohandler Update copyright headers 2015-02-11 06:49:51 +00:00
qimagereader MSVC: Remove use of -Zm argument 2015-02-13 21:23:19 +00:00
qimagewriter MSVC: Remove use of -Zm argument 2015-02-13 21:23:19 +00:00
qmovie Update copyright headers 2015-02-11 06:49:51 +00:00
qpicture Update copyright headers 2015-02-11 06:49:51 +00:00
qpixmap Add tests for detach on setDevicePixelRatio() 2015-03-24 11:22:36 +00:00
qpixmapcache Update copyright headers 2015-02-11 06:49:51 +00:00
image.pro Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00