diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-07-05 18:06:54 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2018-07-06 10:47:32 +0200 |
commit | 30bf6b73178a6cf793cddb9c646560808f5faba7 (patch) | |
tree | 976b1dbe8f574d04607559fad4511f2be840757e /vcl/inc/qt5 | |
parent | ef46981023becba0f34a235a3571028dd0ea8838 (diff) |
Qt5 implement scaled image draws
If the source and target rects don't match, LO expect the image
to be scaled.
Change-Id: I337acfa56600eba92c10aed7a70749ad08c03e90
Diffstat (limited to 'vcl/inc/qt5')
-rw-r--r-- | vcl/inc/qt5/Qt5Graphics.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/qt5/Qt5Graphics.hxx b/vcl/inc/qt5/Qt5Graphics.hxx index 0e9de46818a6..b1ba6ce85d98 100644 --- a/vcl/inc/qt5/Qt5Graphics.hxx +++ b/vcl/inc/qt5/Qt5Graphics.hxx @@ -53,6 +53,8 @@ class Qt5Graphics : public SalGraphics Qt5Graphics(Qt5Frame* pFrame, QImage* pQImage); + void drawScaledImage(const SalTwoRect& rPosAry, const QImage& rImage); + public: Qt5Graphics(Qt5Frame* pFrame) : Qt5Graphics(pFrame, nullptr) |