diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-10-10 19:03:53 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-10-10 20:24:26 +0200 |
commit | 68549e00d5e23aa22bc974a8151d93cd948444b3 (patch) | |
tree | 62ea4e15d0f5da26d2d46c4603403fcbf74f0237 /sanitize-ubsan-blacklist | |
parent | 7d9932ade30464abf297f2e3c3690cca68d6bf71 (diff) |
vcl, BitmapEx transformed draw: special-case simple rotations
In case OutputDevice::DrawTransformedBitmapEx() has to do both shearing
and rotation, then recording to a metafile is unchanged. But if we need
to do rotation, then it's not necessary to go via transformations.
This has the additional benefit that 90/180/270 degree rotations don't
introduce an off-by-one error, where the first row and col of the
transformed bitmap is transparent.
(At the moment it's not clear what introduces the unwanted translation,
but at least the direct Rotate() way resolves the visible end-user
problem, see the test.)
Change-Id: Ie1adbdb2221b086c19cc66f69308b6b7256fe29a
Reviewed-on: https://gerrit.libreoffice.org/80626
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sanitize-ubsan-blacklist')
0 files changed, 0 insertions, 0 deletions