diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-17 17:04:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-20 11:38:40 +0200 |
commit | 6a54960f6b38a7d549ed33419cf55f4e718cf7b9 (patch) | |
tree | 0cc57bd7b1636d2de1679b6dd896e0e35d667337 /vcl/inc | |
parent | c777c283faef8c82a73005a74c448670928bcadf (diff) |
tdf#134085 DrawTransformedBitmap in wrong place for RTL
The return of mirror wasn't used, so no effort at a rtl mirror
was made anyway.
Looking at the similar case of polygons, the highlight polygons
in the recently used view are also missing, they have also been
misplaced
we don't want to mirror polygons, we want to translate them
to appear at their mirrored bounding box.
Change-Id: Iefd853883bb6b99a352ce6969ceef7bd57046bc2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98982
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/salgdi.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx index 76f367544203..6e772d24cf24 100644 --- a/vcl/inc/salgdi.hxx +++ b/vcl/inc/salgdi.hxx @@ -205,10 +205,8 @@ public: void mirror( tools::Rectangle& rRect, const OutputDevice*, bool bBack = false ) const; void mirror( vcl::Region& rRgn, const OutputDevice *pOutDev ) const; void mirror( ImplControlValue&, const OutputDevice* ) const; - basegfx::B2DPoint mirror( const basegfx::B2DPoint& i_rPoint, const OutputDevice *pOutDev ) const; basegfx::B2DPolyPolygon mirror( const basegfx::B2DPolyPolygon& i_rPoly, const OutputDevice *pOutDev ) const; const basegfx::B2DHomMatrix& getMirror( const OutputDevice *pOutDev ) const; - basegfx::B2DHomMatrix mirror( const basegfx::B2DHomMatrix& i_rMatrix, const OutputDevice *pOutDev ) const; // non virtual methods; these do possible coordinate mirroring and // then delegate to protected virtual methods |