diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/outdev.hxx | 9 | ||||
-rw-r--r-- | include/vcl/print.hxx | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 2eb6fd9e882e..a8d77c77b30e 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -1480,10 +1480,14 @@ public: @param rBitmapEx The BitmapEx to be painted + + @param fAlpha + Optional additional alpha to use for drawing (0 to 1, 1 being no change). */ void DrawTransformedBitmapEx( const basegfx::B2DHomMatrix& rTransformation, - const BitmapEx& rBitmapEx); + const BitmapEx& rBitmapEx, + double fAlpha = 1.0); /** Return true if DrawTransformedBitmapEx() is fast. @@ -1509,7 +1513,8 @@ protected: */ virtual bool DrawTransformBitmapExDirect( const basegfx::B2DHomMatrix& aFullTransform, - const BitmapEx& rBitmapEx); + const BitmapEx& rBitmapEx, + double fAlpha = 1.0); /** Transform and reduce the area that needs to be drawn of the bitmap and return the new visible range and the maximum area. diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 8ddd8bc7fbd3..e787ce40fca8 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -234,7 +234,7 @@ protected: const Point& rSrcPtPixel, const Size& rSrcSizePixel) override; bool DrawTransformBitmapExDirect( const basegfx::B2DHomMatrix& aFullTransform, - const BitmapEx& rBitmapEx) override; + const BitmapEx& rBitmapEx, double fAlpha = 1.0) override; bool TransformAndReduceBitmapExToTargetRange( const basegfx::B2DHomMatrix& aFullTransform, basegfx::B2DRange &aVisibleRange, double &fMaximumArea) override; |