/aoo41x/main/vcl/source/gdi/ |
H A D | image.cxx | 81 BitmapEx aBmpEx; in Image() local 92 if( !aBmpEx.IsEmpty() && aBmpEx.GetTransparentType() == TRANSPARENT_NONE ) in Image() 95 aBmpEx = BitmapEx( aBmpEx.GetBitmap(), aMaskBitmap ); in Image() 103 if( !aBmpEx.IsEmpty() && aBmpEx.GetTransparentType() == TRANSPARENT_NONE ) in Image() 106 aBmpEx = BitmapEx( aBmpEx.GetBitmap(), aMaskColor ); in Image() 112 ImplInit( aBmpEx ); in Image() 156 ImplInit( aBmpEx ); in Image() 168 ImplInit( aBmpEx ); in Image() 536 BitmapEx aBmpEx; in Load() local 648 aBmpEx = BitmapEx( aBmpEx.GetBitmap(), *pMaskColor ); in InsertFromHorizontalBitmap() [all …]
|
H A D | animate.cxx | 58 sal_uInt32 nCrc = aBmpEx.GetChecksum(); in GetChecksum() 282 nSizeBytes += pAnimBmp->aBmpEx.GetSizeBytes(); in GetSizeBytes() 428 pObj->aBmpEx.Draw( pOut, rDestPt, rDestSz ); in Draw() 587 maBitmapEx = rStepBmp.aBmpEx; in Insert() 618 maBitmapEx = rNewAnimationBitmap.aBmpEx; in Replace() 697 bRet = ( ( AnimationBitmap*) pStepBmp )->aBmpEx.Invert(); in Invert() 725 if( ( bRet = pStepBmp->aBmpEx.Mirror( nMirrorFlags ) ) == sal_True ) in Mirror() 835 WriteDIBBitmapEx(rAnimation.Get( 0 ).aBmpEx, rOStm); in operator <<() 848 WriteDIBBitmapEx(rAnimBmp.aBmpEx, rOStm); in operator <<() 905 BitmapEx aBmpEx; in operator >>() local [all …]
|
H A D | print2.cxx | 184 BitmapEx aBmpEx; in ImplConvertTransparentAction() local 207 Bitmap aBmp( aBmpEx.GetBitmap() ); in ImplConvertTransparentAction() 208 if( !aBmpEx.IsAlpha() ) in ImplConvertTransparentAction() 242 aBmp.Blend(aBmpEx.GetAlpha(),aBgColor); in ImplConvertTransparentAction() 1444 BitmapEx aBmpEx( rBmpEx ); in GetDownsampledBitmapEx() local 1446 if( !aBmpEx.IsEmpty() ) in GetDownsampledBitmapEx() 1456 aBmpEx.Crop( aSrcRect ); in GetDownsampledBitmapEx() 1458 aBmpEx.SetEmpty(); in GetDownsampledBitmapEx() 1461 if( !aBmpEx.IsEmpty() ) in GetDownsampledBitmapEx() 1499 aBmpEx.SetEmpty(); in GetDownsampledBitmapEx() [all …]
|
H A D | outdev6.cxx | 815 BitmapEx aBmpEx; in ImplDrawBitmapWallpaper() local 827 aBmpEx = *pCached; in ImplDrawBitmapWallpaper() 829 aBmpEx = rWallpaper.GetBitmap(); in ImplDrawBitmapWallpaper() 831 const long nBmpWidth = aBmpEx.GetSizePixel().Width(); in ImplDrawBitmapWallpaper() 847 aVDev.DrawBitmapEx( Point(), aBmpEx ); in ImplDrawBitmapWallpaper() 898 aBmpEx = rWallpaper.GetBitmap(); in ImplDrawBitmapWallpaper() 899 aBmpEx.Scale( aSize ); in ImplDrawBitmapWallpaper() 900 aBmpEx = BitmapEx( aBmpEx.GetBitmap().CreateDisplayBitmap( this ), aBmpEx.GetMask() ); in ImplDrawBitmapWallpaper() 983 DrawBitmapEx( Point( nBmpX, nBmpY ), aBmpEx ); in ImplDrawBitmapWallpaper() 995 const Size aBmpSize( aBmpEx.GetSizePixel() ); in ImplDrawBitmapWallpaper() [all …]
|
H A D | outdev2.cxx | 1045 BitmapEx aBmpEx( rBitmapEx ); in ImplDrawBitmapEx() local 1062 if( aBmpEx.IsAlpha() ) in ImplDrawBitmapEx() 1071 aBmpEx = BitmapEx( aColorBmp, aMask ); in ImplDrawBitmapEx() 1075 aBmpEx = BitmapEx( aColorBmp, aBmpEx.GetMask() ); in ImplDrawBitmapEx() 1078 else if( !!aBmpEx ) in ImplDrawBitmapEx() 1111 if( aBmpEx.IsAlpha() ) in ImplDrawBitmapEx() 1122 Bitmap aBmp( aBmpEx.GetBitmap() ), aMask( aBmpEx.GetMask() ); in ImplDrawBitmapEx() 1130 if(aBmpEx.IsAlpha()) in ImplDrawBitmapEx() 1132 …ImplDrawAlpha( aBmpEx.GetBitmap(), aBmpEx.GetAlpha(), rDestPt, rDestSize, rSrcPtPixel, rSrcSizePix… in ImplDrawBitmapEx() 1136 if( !( !aBmpEx ) ) in ImplDrawBitmapEx() [all …]
|
/aoo41x/main/svx/source/dialog/ |
H A D | grfflt.cxx | 73 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in ExecuteGrfFilterSlot() local 75 if( aBmpEx.Invert() ) in ExecuteGrfFilterSlot() 76 aGraphic = aBmpEx; in ExecuteGrfFilterSlot() 100 if( aBmpEx.Filter( BMP_FILTER_SMOOTH ) ) in ExecuteGrfFilterSlot() 101 aGraphic = aBmpEx; in ExecuteGrfFilterSlot() 125 if( aBmpEx.Filter( BMP_FILTER_SHARPEN ) ) in ExecuteGrfFilterSlot() 126 aGraphic = aBmpEx; in ExecuteGrfFilterSlot() 151 aGraphic = aBmpEx; in ExecuteGrfFilterSlot() 176 aGraphic = aBmpEx; in ExecuteGrfFilterSlot() 245 if( aBmpEx.Filter( BMP_FILTER_POPART ) ) in ExecuteGrfFilterSlot() [all …]
|
H A D | _bmpmask.cxx | 772 BitmapEx aBmpEx; in ImpMaskTransparent() local 778 aBmpEx = BitmapEx( rBitmapEx.GetBitmap(), aMask ); in ImpMaskTransparent() 781 return aBmpEx; in ImpMaskTransparent() 798 aAnimBmp.aBmpEx = Mask( aAnimBmp.aBmpEx ).GetBitmapEx(); in ImpMask() 1024 pAct = new MetaBmpExAction( pAct->GetPoint(), aBmpEx ); in ImpMask() 1045 pAct->GetSrcPoint(), pAct->GetSrcSize(), aBmpEx ); in ImpMask() 1096 aAnimBmp.aBmpEx = ImpReplaceTransparency( aAnimBmp.aBmpEx, rColor ); in ImpReplaceTransparency() 1164 const Size aSize( aBmpEx.GetSizePixel() ); in Mask() 1167 aGraphic = aBmpEx; in Mask() 1187 const Size aSize( aBmpEx.GetSizePixel() ); in Mask() [all …]
|
/aoo41x/main/cui/source/dialogs/ |
H A D | cuigrfflt.cxx | 402 maGraphic = aBmpEx; in GraphicFilterDialog() 505 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in GetFilteredGraphic() local 510 aBmpEx.Filter( BMP_FILTER_SHARPEN ); in GetFilteredGraphic() 512 aRet = aBmpEx; in GetFilteredGraphic() 567 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in GetFilteredGraphic() local 572 aBmpEx.Invert(); in GetFilteredGraphic() 574 aRet = aBmpEx; in GetFilteredGraphic() 620 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in GetFilteredGraphic() local 623 aRet = aBmpEx; in GetFilteredGraphic() 673 aRet = aBmpEx; in GetFilteredGraphic() [all …]
|
/aoo41x/main/sc/source/ui/sidebar/ |
H A D | CellBorderUpdater.cxx | 44 BitmapEx aBmpEx( aImg.GetBitmapEx() ); in UpdateCellBorder() local 45 Bitmap aBmp( aBmpEx.GetBitmap() ); in UpdateCellBorder() 54 if( aBmpEx.IsAlpha() ) in UpdateCellBorder() 56 else if( aBmpEx.IsTransparent() ) in UpdateCellBorder() 57 pMskAcc = ( aMsk = aBmpEx.GetMask() ).AcquireWriteAccess(); in UpdateCellBorder() 114 if( aBmpEx.IsAlpha() ) in UpdateCellBorder() 115 aBmpEx = BitmapEx( aBmp, AlphaMask( aMsk ) ); in UpdateCellBorder() 116 else if( aBmpEx.IsTransparent() ) in UpdateCellBorder() 117 aBmpEx = BitmapEx( aBmp, aMsk ); in UpdateCellBorder() 119 aBmpEx = aBmp; in UpdateCellBorder() [all …]
|
/aoo41x/main/svtools/source/graphic/ |
H A D | provider.cxx | 257 BitmapEx aBmpEx; in implLoadBitmap() local 270 aBmpEx = BitmapEx( aBmp ); in implLoadBitmap() 272 if( !aBmpEx.IsEmpty() ) in implLoadBitmap() 302 BitmapEx aBmpEx; in implLoadResource() local 311 aBmpEx = BitmapEx( aResId ); in implLoadResource() 345 if( !aBmpEx.IsEmpty() ) in implLoadResource() 349 pUnoGraphic->init( aBmpEx ); in implLoadResource() 559 rGraphic = aBmpEx; in ImplApplyBitmapScaling() 641 aBmpEx.Crop( aCropPixel ); in ImplApplyFilterData() 642 rGraphic = aBmpEx; in ImplApplyFilterData() [all …]
|
/aoo41x/main/svx/source/tbxctrls/ |
H A D | tbxcolorupdate.cxx | 84 BitmapEx aBmpEx( aImage.GetBitmapEx() ); in Update() local 85 Bitmap aBmp( aBmpEx.GetBitmap() ); in Update() 96 if( aBmpEx.IsAlpha() ) in Update() 98 else if( aBmpEx.IsTransparent() ) in Update() 99 pMskAcc = ( aMsk = aBmpEx.GetMask() ).AcquireWriteAccess(); in Update() 171 if( aBmpEx.IsAlpha() ) in Update() 172 aBmpEx = BitmapEx( aBmp, AlphaMask( aMsk ) ); in Update() 173 else if( aBmpEx.IsTransparent() ) in Update() 174 aBmpEx = BitmapEx( aBmp, aMsk ); in Update() 176 aBmpEx = aBmp; in Update() [all …]
|
/aoo41x/main/slideshow/source/engine/shapes/ |
H A D | gdimtftools.cxx | 156 ::BitmapEx aBmpEx( aGraphic.GetBitmapEx() ); in getMtf() 159 aBmpEx ) ); in getMtf() 160 aMtf.SetPrefSize( aBmpEx.GetPrefSize() ); in getMtf() 161 aMtf.SetPrefMapMode( aBmpEx.GetPrefMapMode() ); in getMtf() 398 rAnimBmp.aBmpEx); in getAnimationFromGraphic() 399 Bitmap aMask = rAnimBmp.aBmpEx.GetMask(); in getAnimationFromGraphic() 423 const Bitmap aMask(rAnimBmp.aBmpEx.GetMask()); in getAnimationFromGraphic() 424 const Bitmap aContent(rAnimBmp.aBmpEx.GetBitmap()); in getAnimationFromGraphic() 446 rAnimBmp.aBmpEx); in getAnimationFromGraphic() 453 rAnimBmp.aBmpEx); in getAnimationFromGraphic() [all …]
|
/aoo41x/main/cppcanvas/source/wrapper/ |
H A D | vclfactory.cxx | 299 BitmapEx aBmpEx; in createAnimatedSprite() local 301 aBmpEx.SetSizePixel( rAnim.GetDisplaySizePixel() ); in createAnimatedSprite() 303 aBmpEx.Erase( ::Color( 255, 0,0,0 ) ); // clear alpha channel in createAnimatedSprite() 304 aRestoreBuffer = aBmpEx; in createAnimatedSprite() 320 aBmpEx.Erase( ::Color( 255, 0,0,0 ) ); in createAnimatedSprite() 325 aBmpEx = aRestoreBuffer; in createAnimatedSprite() 333 aBmpEx.CopyPixel( Rectangle( rAnimBmp.aPosPix, in createAnimatedSprite() 337 &rAnimBmp.aBmpEx ); in createAnimatedSprite() 342 aRestoreBuffer = aBmpEx; in createAnimatedSprite() 346 aBmpEx); in createAnimatedSprite()
|
/aoo41x/main/svx/source/gallery2/ |
H A D | galobj.cxx | 111 BitmapEx aBmpEx( rGraphic.GetBitmapEx() ); in CreateThumb() local 112 Size aBmpSize( aBmpEx.GetSizePixel() ); in CreateThumb() 118 if( aBmpEx.GetPrefMapMode().GetMapUnit() != MAP_PIXEL && in CreateThumb() 119 aBmpEx.GetPrefSize().Width() > 0 && in CreateThumb() 120 aBmpEx.GetPrefSize().Height() > 0 ) in CreateThumb() 122 …Size aLogSize( OutputDevice::LogicToLogic( aBmpEx.GetPrefSize(), aBmpEx.GetPrefMapMode(), MAP_100T… in CreateThumb() 134 aBmpEx.SetSizePixel( aBmpSize, BMP_SCALE_BESTQUALITY ); in CreateThumb() 139 aThumbBmp = aBmpEx; in CreateThumb() 422 const BitmapEx aBmpEx( GAL_RESID( nId ) ); in GetThumbBmp() local 424 return aBmpEx; in GetThumbBmp()
|
H A D | galmisc.cxx | 88 BitmapEx aBmpEx( GAL_RESID( nId ) ); in GalleryResGetBitmapEx() local 90 if( !aBmpEx.IsTransparent() ) in GalleryResGetBitmapEx() 91 aBmpEx = BitmapEx( aBmpEx.GetBitmap(), COL_LIGHTMAGENTA ); in GalleryResGetBitmapEx() 93 return aBmpEx; in GalleryResGetBitmapEx()
|
/aoo41x/main/vcl/inc/vcl/ |
H A D | animate.hxx | 64 BitmapEx aBmpEx; member 75 aBmpEx ( rBmpEx ), in AnimationBitmap() 84 return( rAnimBmp.aBmpEx == aBmpEx && in operator ==() 101 rAnimBmp.aBmpEx.IsEqual( aBmpEx ) ); in IsEqual()
|
/aoo41x/main/framework/source/fwe/classes/ |
H A D | imagewrapper.cxx | 89 BitmapEx aBmpEx( m_aImage.GetBitmapEx() ); in getMaskDIB() local 91 if ( aBmpEx.IsAlpha() ) in getMaskDIB() 94 WriteDIB(aBmpEx.GetAlpha().GetBitmap(), aMem, false, true); in getMaskDIB() 97 else if ( aBmpEx.IsTransparent() ) in getMaskDIB() 100 WriteDIB(aBmpEx.GetMask(), aMem, false, true); in getMaskDIB()
|
/aoo41x/main/svtools/source/filter/wmf/ |
H A D | winmtf.cxx | 1639 BitmapEx aBmpEx( rBitmap ); in ImplDrawBitmap() local 1663 if ( aBmpEx.IsTransparent() ) in ImplDrawBitmap() 1674 if ( aBmpEx.IsTransparent() ) in ImplDrawBitmap() 1789 BitmapEx aBmpEx( aBitmap, aMask ); in ResolveBitmapActions() local 1790 ImplDrawBitmap( aPos, aSize, aBmpEx ); in ResolveBitmapActions() 1807 BitmapEx aBmpEx( aBitmap, aMask ); in ResolveBitmapActions() local 1808 ImplDrawBitmap( aPos, aSize, aBmpEx ); in ResolveBitmapActions() 1825 BitmapEx aBmpEx( aBitmap, aMask ); in ResolveBitmapActions() local 1826 ImplDrawBitmap( aPos, aSize, aBmpEx ); in ResolveBitmapActions() 1842 BitmapEx aBmpEx( aBitmap, aMask ); in ResolveBitmapActions() local [all …]
|
/aoo41x/main/vcl/aqua/source/app/ |
H A D | salinst.cxx | 1243 BitmapEx aBmpEx( rImage.GetBitmapEx() ); in CreateCGImage() local 1244 Bitmap aBmp( aBmpEx.GetBitmap() ); in CreateCGImage() 1256 if( ! (aBmpEx.IsAlpha() || aBmpEx.IsTransparent() ) ) in CreateCGImage() 1258 else if( aBmpEx.IsAlpha() ) in CreateCGImage() 1260 AlphaMask aAlphaMask( aBmpEx.GetAlpha() ); in CreateCGImage() 1268 else if( aBmpEx.GetTransparentType() == TRANSPARENT_BITMAP ) in CreateCGImage() 1270 Bitmap aMask( aBmpEx.GetMask() ); in CreateCGImage() 1277 else if( aBmpEx.GetTransparentType() == TRANSPARENT_COLOR ) in CreateCGImage() 1279 Color aTransColor( aBmpEx.GetTransparentColor() ); in CreateCGImage()
|
/aoo41x/main/filter/source/graphicfilter/egif/ |
H A D | egif.cxx | 139 BitmapEx aBmpEx; in WriteGIF() local 142 aBmpEx = rGraphic.GetBitmapEx(); in WriteGIF() 144 aBmpEx = BitmapEx( rGraphic.GetBitmap() ); in WriteGIF() 153 WriteGlobalHeader( aBmpEx.GetSizePixel() ); in WriteGIF() 156 WriteBitmapEx( aBmpEx, Point(), bGrafTrans ); in WriteGIF() 221 WriteBitmapEx( rAnimBmp.aBmpEx, rAnimBmp.aPosPix, sal_True, in WriteAnimation()
|
/aoo41x/main/svx/source/unodraw/ |
H A D | UnoGraphicExporter.cxx | 222 BitmapEx aBmpEx; in GetBitmapFromMetaFile() local 250 aBmpEx = convertMetafileToBitmapEx(rMtf, aRange, nMaximumQuadraticPixels); in GetBitmapFromMetaFile() 291 aBmpEx = BitmapEx(aGraphic.GetBitmap(aParameters)); in GetBitmapFromMetaFile() 292 aBmpEx.SetPrefMapMode( rMtf.GetPrefMapMode() ); in GetBitmapFromMetaFile() 293 aBmpEx.SetPrefSize( rMtf.GetPrefSize() ); in GetBitmapFromMetaFile() 296 return aBmpEx; in GetBitmapFromMetaFile() 901 BitmapEx aBmpEx( aGraphic.GetBitmapEx() ); in GetGraphic() local 903 aBmpEx.Scale( Size( rSettings.mnWidth, rSettings.mnHeight ), BMP_SCALE_LANCZOS ); in GetGraphic() 904 aGraphic = aBmpEx; in GetGraphic()
|
/aoo41x/main/canvas/source/vcl/ |
H A D | canvashelper.cxx | 717 BitmapEx aBmpEx( tools::bitmapExFromXBitmap(xBitmap) ); in implDrawBitmap() local 745 aBmpEx ); in implDrawBitmap() 749 aBmpEx ); in implDrawBitmap() 768 ::Size aBmpSize( aBmpEx.GetSizePixel() ); in implDrawBitmap() 806 pGrfObj.reset( new GraphicObject( aBmpEx ) ); in implDrawBitmap() 826 aBmpEx = tools::transformBitmap( aBmpEx, in implDrawBitmap() 831 pGrfObj.reset( new GraphicObject( aBmpEx ) ); in implDrawBitmap() 838 aBmpSize = aBmpEx.GetSizePixel(); in implDrawBitmap()
|
/aoo41x/main/drawinglayer/source/primitive2d/ |
H A D | graphicprimitivehelper2d.cxx | 142 aVirtualDevice.DrawBitmapEx(rAnimBitmap.aPosPix, rAnimBitmap.aBmpEx); in animatedBitmapExPreparator() 143 Bitmap aMask = rAnimBitmap.aBmpEx.GetMask(); in animatedBitmapExPreparator() 163 const Bitmap aMask(rAnimBitmap.aBmpEx.GetMask()); in animatedBitmapExPreparator() 164 const Bitmap aContent(rAnimBitmap.aBmpEx.GetBitmap()); in animatedBitmapExPreparator() 185 aVirtualDevice.DrawBitmapEx(rAnimBitmap.aPosPix, rAnimBitmap.aBmpEx); in animatedBitmapExPreparator() 190 aVirtualDevice.DrawBitmapEx(rAnimBitmap.aPosPix, rAnimBitmap.aBmpEx); in animatedBitmapExPreparator() 191 aVirtualDeviceMask.DrawBitmap(rAnimBitmap.aPosPix, rAnimBitmap.aBmpEx.GetMask()); in animatedBitmapExPreparator()
|
/aoo41x/main/avmedia/source/viewer/ |
H A D | mediawindow.cxx | 554 const BitmapEx aBmpEx( AVMEDIA_RESID( AVMEDIA_BMP_AUDIOLOGO ) ); in grabFrame() local 555 apGraphic.reset( new Graphic( aBmpEx ) ); in grabFrame() 562 const BitmapEx aBmpEx( AVMEDIA_RESID( AVMEDIA_BMP_EMPTYLOGO ) ); in grabFrame() local 563 apGraphic.reset( new Graphic( aBmpEx ) ); in grabFrame()
|
/aoo41x/main/sd/source/ui/view/ |
H A D | sdview3.cxx | 1275 BitmapEx aBmpEx; in InsertData() local 1278 aDataHelper.GetBitmapEx(FORMAT_BITMAP, aBmpEx); in InsertData() 1280 if(aBmpEx.IsEmpty()) in InsertData() 1287 aBmpEx = aGraphic.GetBitmapEx(); in InsertData() 1291 aBmpEx = aGraphic.GetBitmapEx(); in InsertData() 1295 aBmpEx = aGraphic.GetBitmapEx(); in InsertData() 1299 if(!aBmpEx.IsEmpty()) in InsertData() 1320 Size aImageMapSize(aBmpEx.GetPrefSize()); in InsertData() 1323 InsertGraphic( aBmpEx, mnAction, aInsertPos, NULL, pImageMap ); in InsertData()
|