Kaydet (Commit) 47ab19fa authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

Only make transparent mask when the angle is not 0, 90, 180 or 270.

Change-Id: I46798192d019967f74e4d118b1dd322072cd3997
üst d37ea5bc
......@@ -393,11 +393,13 @@ sal_Bool BitmapEx::ScaleCropRotate(
{
bool bRet = false;
const bool bTransparentRotate = ( Color( COL_TRANSPARENT ) == rFillColor );
if( !!aBitmap )
{
if( bTransparentRotate )
const bool bTransparentRotate = ( Color( COL_TRANSPARENT ) == rFillColor );
bool bRightAngleRotation = (nAngle10 == 0 || nAngle10 == 900 || nAngle10 == 1800 || nAngle10 == 2700);
if( !bRightAngleRotation && bTransparentRotate )
{
if( eTransparent == TRANSPARENT_COLOR )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment