diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-03-07 00:28:26 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-03-16 17:02:21 +0100 |
commit | ac2eaaab7af7100b527b76adb35718317f33c49c (patch) | |
tree | 9cdfed909e496fbcf33899a81f077658a82efbfb /vcl | |
parent | Make sure mask is rendered opaque in vclcanvas. (diff) | |
download | core-ac2eaaab7af7100b527b76adb35718317f33c49c.tar.gz core-ac2eaaab7af7100b527b76adb35718317f33c49c.zip |
Align transparency cut-off with application defaults
So, the Impress transparence default is 50% - we'd want that to
*not* be fully transparent on vclcanvas, so shift the cut-off by one
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/outdev2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/outdev2.cxx b/vcl/source/gdi/outdev2.cxx index d6553ab70edf..11a9c1ebb853 100644 --- a/vcl/source/gdi/outdev2.cxx +++ b/vcl/source/gdi/outdev2.cxx @@ -816,7 +816,7 @@ void OutputDevice::ImplDrawBitmapEx( const Point& rDestPt, const Size& rDestSize // output, having alpha-induced grey levels is not // acceptable. Bitmap aMask( aBmpEx.GetAlpha().GetBitmap() ); - aMask.MakeMono( 128 ); + aMask.MakeMono( 129 ); aBmpEx = BitmapEx( aColorBmp, aMask ); } else |