summaryrefslogtreecommitdiff
path: root/include/vcl/bitmap.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-07-10 10:37:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-07-10 10:37:24 +0200
commitf136890dc01260bde611b4c121ddf119281cf5b4 (patch)
treeca50d042c8c2b54b614e50abc877aadb36d4930b /include/vcl/bitmap.hxx
parente842914ae3ec6109e889cfc4d0387192a68d2907 (diff)
Clean up AlphaMask::CopyPixel "override" hack
...that required undefined downcasts of Bitmap objects that are not actually AlphaMasks. Change-Id: I629f4a81d40a2a85cd877ffec13445786ef58187
Diffstat (limited to 'include/vcl/bitmap.hxx')
-rw-r--r--include/vcl/bitmap.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index 8dd71252a9c8..d2f0cac3bcde 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -512,6 +512,9 @@ public:
const Rectangle& rRectSrc,
const Bitmap* pBmpSrc = NULL );
+ bool CopyPixel_AlphaOptimized( const Rectangle& rRectDst, const Rectangle& rRectSrc,
+ const Bitmap* pBmpSrc = NULL);
+
/** Perform boolean operations with another bitmap
@param rMask