summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-17 02:56:10 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-17 03:15:53 +1000
commitbc3625fce46e3e4529b2eb7daabc5c66d7b1cbcc (patch)
treedcd5d82951aaf04891a5f51420bb936569c1139f /include/vcl
parentc1bc990aa5fd2a40191dae9683db7b0cd3e9a0d0 (diff)
fdo#74702 Move common mask functionality to ApplyMask
There is code in OutputDevice that essentially carries out the same functionality as ImplPrintMask, but for VirtualDevice and Window instances. Therefore, renamed ImplPrintMask to ApplyMask and moved OutputDevice functionality into new protected function ApplyMask. Change-Id: Ia88469e9b149f7819dfc538ecbe014198e4534f6
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/outdev.hxx6
-rw-r--r--include/vcl/print.hxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 420fe444a0ce..3034fb37b529 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -848,9 +848,9 @@ public:
protected:
OutputDevice();
- virtual void ImplPrintMask ( const Bitmap& rMask, const Color& rMaskColor,
- const Point& rDestPt, const Size& rDestSize,
- const Point& rSrcPtPixel, const Size& rSrcSizePixel );
+ virtual void ApplyMask ( const Bitmap& rMask, const Color& rMaskColor,
+ const Point& rDestPt, const Size& rDestSize,
+ const Point& rSrcPtPixel, const Size& rSrcSizePixel );
virtual bool UsePolyPolygonForComplexGradient() = 0;
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index 6309f127d2b3..23c656df0f40 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -283,9 +283,9 @@ protected:
void SetSelfAsQueuePrinter( bool bQueuePrinter ) { mbIsQueuePrinter = bQueuePrinter; }
bool IsQueuePrinter() const { return mbIsQueuePrinter; }
- virtual void ImplPrintMask ( const Bitmap& rMask, const Color& rMaskColor,
- const Point& rDestPt, const Size& rDestSize,
- const Point& rSrcPtPixel, const Size& rSrcSizePixel ) SAL_OVERRIDE;
+ virtual void ApplyMask ( const Bitmap& rMask, const Color& rMaskColor,
+ const Point& rDestPt, const Size& rDestSize,
+ const Point& rSrcPtPixel, const Size& rSrcSizePixel ) SAL_OVERRIDE;
bool DrawTransformBitmapExDirect(
const basegfx::B2DHomMatrix& aFullTransform,