Lines Matching refs:rBmpEx
72 BitmapEx muckWithBitmap( const BitmapEx& rBmpEx, in muckWithBitmap() argument
90 aBmpEx = rBmpEx; in muckWithBitmap()
93 rSrcSize != rBmpEx.GetSizePixel() ) in muckWithBitmap()
493 const BitmapEx& rBmpEx, const GraphicAttr& rAttr, in ImplCreateOutput() argument
519 BitmapEx aBmpEx( rBmpEx ); in ImplCreateOutput()
523 const Size& rBmpSzPix = rBmpEx.GetSizePixel(); in ImplCreateOutput()
1021 sal_Bool GraphicManager::ImplCreateScaled( const BitmapEx& rBmpEx, in ImplCreateScaled() argument
1026 Bitmap aBmp( rBmpEx.GetBitmap() ); in ImplCreateScaled()
1038 DBG_ASSERT( aBmp.GetSizePixel() == rBmpEx.GetSizePixel(), in ImplCreateScaled()
1220 if( bRet && rBmpEx.IsTransparent() ) in ImplCreateScaled()
1224 if( rBmpEx.IsAlpha() ) in ImplCreateScaled()
1226 DBG_ASSERT( rBmpEx.GetAlpha().GetSizePixel() == rBmpEx.GetSizePixel(), in ImplCreateScaled()
1229 AlphaMask aAlpha( rBmpEx.GetAlpha() ); in ImplCreateScaled()
1306 DBG_ASSERT( rBmpEx.GetMask().GetSizePixel() == rBmpEx.GetSizePixel(), in ImplCreateScaled()
1309 Bitmap aMsk( rBmpEx.GetMask() ); in ImplCreateScaled()
1420 sal_Bool GraphicManager::ImplCreateRotatedScaled( const BitmapEx& rBmpEx, in ImplCreateRotatedScaled() argument
1427 Bitmap aBmp( rBmpEx.GetBitmap() ); in ImplCreateRotatedScaled()
1557 if( bRet && ( rBmpEx.IsTransparent() || ( nRot10 != 900 && nRot10 != 1800 && nRot10 != 2700 ) ) ) in ImplCreateRotatedScaled()
1561 if( rBmpEx.IsAlpha() ) in ImplCreateRotatedScaled()
1563 AlphaMask aAlpha( rBmpEx.GetAlpha() ); in ImplCreateRotatedScaled()
1666 Bitmap aMsk( rBmpEx.GetMask() ); in ImplCreateRotatedScaled()
1749 void GraphicManager::ImplAdjust( BitmapEx& rBmpEx, const GraphicAttr& rAttr, sal_uLong nAdjustmentF… in ImplAdjust() argument
1758 rBmpEx.Convert( BMP_CONVERSION_1BIT_THRESHOLD ); in ImplAdjust()
1762 rBmpEx.Convert( BMP_CONVERSION_8BIT_GREYS ); in ImplAdjust()
1779 rBmpEx.Adjust( aAttr.GetLuminance(), aAttr.GetContrast(), in ImplAdjust()
1786 rBmpEx.Mirror( aAttr.GetMirrorFlags() ); in ImplAdjust()
1791 rBmpEx.Rotate( aAttr.GetRotation(), Color( COL_TRANSPARENT ) ); in ImplAdjust()
1799 if( !rBmpEx.IsTransparent() ) in ImplAdjust()
1800 aAlpha = AlphaMask( rBmpEx.GetSizePixel(), &cTrans ); in ImplAdjust()
1801 else if( !rBmpEx.IsAlpha() ) in ImplAdjust()
1803 aAlpha = rBmpEx.GetMask(); in ImplAdjust()
1808 aAlpha = rBmpEx.GetAlpha(); in ImplAdjust()
1848 rBmpEx = BitmapEx( rBmpEx.GetBitmap(), aAlpha ); in ImplAdjust()
2399 void GraphicObject::ImplTransformBitmap( BitmapEx& rBmpEx, in ImplTransformBitmap() argument
2412 rBmpEx.Crop( rCropRect ); in ImplTransformBitmap()
2421 Size aBmpSize( rBmpEx.GetSizePixel() ); in ImplTransformBitmap()
2429 if( rBmpEx.IsTransparent() ) in ImplTransformBitmap()
2431 if( rBmpEx.IsAlpha() ) in ImplTransformBitmap()
2432 aBmpEx2 = BitmapEx( rBmpEx.GetBitmap(), rBmpEx.GetAlpha() ); in ImplTransformBitmap()
2434 aBmpEx2 = BitmapEx( rBmpEx.GetBitmap(), rBmpEx.GetMask() ); in ImplTransformBitmap()
2443 aBmpEx2 = BitmapEx( rBmpEx.GetBitmap(), aMask ); in ImplTransformBitmap()
2446 rBmpEx = aBmpEx2; in ImplTransformBitmap()
2451 …el( Rectangle( Point(nPadLeft, nPadTop), aBmpSize ), Rectangle( Point(0, 0), aBmpSize ), &rBmpEx ); in ImplTransformBitmap()
2452 rBmpEx = aBmpEx2; in ImplTransformBitmap()
2456 const Size aSizePixel( rBmpEx.GetSizePixel() ); in ImplTransformBitmap()
2472 rBmpEx.Scale( fScaleX, fScaleY ); in ImplTransformBitmap()