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
This commit is contained in:
Thorsten Behrens
2012-03-07 00:28:26 +01:00
parent 024d661424
commit ac2eaaab7a

View File

@@ -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