diff options
Diffstat (limited to 'vcl/source/outdev/mask.cxx')
-rw-r--r-- | vcl/source/outdev/mask.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/vcl/source/outdev/mask.cxx b/vcl/source/outdev/mask.cxx index 9a7b57c6b3bb..cd07b33ae0dd 100644 --- a/vcl/source/outdev/mask.cxx +++ b/vcl/source/outdev/mask.cxx @@ -140,23 +140,6 @@ void OutputDevice::DrawDeviceMask( const Bitmap& rMask, const Color& rMaskColor, } } - - // TODO: Use mask here - if( !mpAlphaVDev ) - return; - - const Bitmap aAlphaMask( rMask.CreateMask( rMaskColor ) ); - - // #i25167# Restrict mask painting to _opaque_ areas - // of the mask, otherwise we spoil areas where no - // bitmap content was ever visible. Interestingly - // enough, this can be achieved by taking the mask as - // the transparency mask of itself - mpAlphaVDev->DrawBitmapEx( rDestPt, - rDestSize, - rSrcPtPixel, - rSrcSizePixel, - BitmapEx( aAlphaMask, rMask ) ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |