diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-11-25 20:07:02 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-11-26 09:03:44 +0100 |
commit | 8dde8f9768f0dab97cdd30e3116f7e4d737c482f (patch) | |
tree | 70740440b55839c6830ebf52205b4069ca9c3de4 /m4 | |
parent | b68ba6929d3df9ed5bf999e14c4ef7083ac35e46 (diff) |
tdf#128629 vcl DrawTransformedBitmapEx: do scaling for flipped bitmaps
Regression from commit dd4a67084853a030bf4b9f1f85d728620e0604a5 (vcl:
avoid downscale && upscale in DrawTransformedBitmapEx(), 2019-10-08),
the original problem to be solved was that in case you downscale a
bitmap and upscale it later, then you get blurry result, so we try to
avoid touching the pixels and just scale during rendering of the bitmap.
However, here the problem is that scaling is also (mis)used for flip
purposes, so go back to the original behavior for negative scaling.
This keeps the original problem fixed and solves the loss of flip as
well.
Change-Id: Ic9a6eb49d55f2fb8ccf18d982e574398f010cabd
Reviewed-on: https://gerrit.libreoffice.org/83711
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions