diff options
Diffstat (limited to 'vcl/source/gdi/salgdilayout.cxx')
-rw-r--r-- | vcl/source/gdi/salgdilayout.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/vcl/source/gdi/salgdilayout.cxx b/vcl/source/gdi/salgdilayout.cxx index d019b93e816b..adf26d97d9ac 100644 --- a/vcl/source/gdi/salgdilayout.cxx +++ b/vcl/source/gdi/salgdilayout.cxx @@ -28,6 +28,7 @@ #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/matrix/b2dhommatrixtools.hxx> #include <FileDefinitionWidgetDraw.hxx> +#include <rtl/math.hxx> // The only common SalFrame method @@ -87,7 +88,8 @@ bool SalGraphics::drawTransformedBitmap( const basegfx::B2DPoint& /* rX */, const basegfx::B2DPoint& /* rY */, const SalBitmap& /* rSourceBitmap */, - const SalBitmap* /* pAlphaBitmap */) + const SalBitmap* /* pAlphaBitmap */, + double /* fAlpha */) { // here direct support for transformed bitmaps can be implemented return false; @@ -836,6 +838,7 @@ bool SalGraphics::DrawTransformedBitmap( const basegfx::B2DPoint& rY, const SalBitmap& rSourceBitmap, const SalBitmap* pAlphaBitmap, + double fAlpha, const OutputDevice& rOutDev) { if( (m_nLayout & SalLayoutFlags::BiDiRtl) || rOutDev.IsRTLEnabled() ) @@ -852,11 +855,11 @@ bool SalGraphics::DrawTransformedBitmap( basegfx::B2DPoint aX = aTranslateToMirroredBounds * rX; basegfx::B2DPoint aY = aTranslateToMirroredBounds * rY; - return drawTransformedBitmap(aNull, aX, aY, rSourceBitmap, pAlphaBitmap); + return drawTransformedBitmap(aNull, aX, aY, rSourceBitmap, pAlphaBitmap, fAlpha); } } - return drawTransformedBitmap(rNull, rX, rY, rSourceBitmap, pAlphaBitmap); + return drawTransformedBitmap(rNull, rX, rY, rSourceBitmap, pAlphaBitmap, fAlpha); } bool SalGraphics::HasFastDrawTransformedBitmap() const |