scrsaver/scrsaverplugins/ScreenSaverGifAnimPlugin/src/GifAnimationPluginControl.cpp
branchRCL_3
changeset 13 4784a3bc2236
parent 12 1c806ee746e7
child 19 1f307dce3b5a
equal deleted inserted replaced
12:1c806ee746e7 13:4784a3bc2236
   537                     CFbsBitmapDevice* bitmapMaskDevice = CFbsBitmapDevice::NewL( iScalingBitmapMask );
   537                     CFbsBitmapDevice* bitmapMaskDevice = CFbsBitmapDevice::NewL( iScalingBitmapMask );
   538                     CleanupStack::PushL(bitmapMaskDevice);
   538                     CleanupStack::PushL(bitmapMaskDevice);
   539                     CFbsBitGc* graphicsMaskContext = NULL; 
   539                     CFbsBitGc* graphicsMaskContext = NULL; 
   540                     User::LeaveIfError( bitmapMaskDevice->CreateContext( graphicsMaskContext ) ); 
   540                     User::LeaveIfError( bitmapMaskDevice->CreateContext( graphicsMaskContext ) ); 
   541                     CleanupStack::PushL( graphicsMaskContext ); 
   541                     CleanupStack::PushL( graphicsMaskContext ); 
   542                     graphicsContext->DrawBitmap( iTargetSize, &iDrawingBitmap->Mask(), srcRect ); 
   542                     graphicsMaskContext->DrawBitmap( iTargetSize, &iDrawingBitmap->Mask(), srcRect ); 
   543                     CleanupStack::PopAndDestroy( 2 );//graphicsContext,bitmapDevice
   543                     CleanupStack::PopAndDestroy( 2 );//graphicsContext,bitmapDevice
   544                     }
   544                     }
   545                 }
   545                 }
   546             }
   546             }
   547             
   547