Lines Matching refs:aMask

56 		aMask				( rBitmapEx.aMask ),  in BitmapEx()
76 aMask = AlphaMask( aSize ).ImplGetBitmap(); in BitmapEx()
79 aMask = Bitmap( aSize, rBitmapEx.aMask.GetBitCount() ); in BitmapEx()
125 aMask ( rMask ), in BitmapEx()
130 if(!!aBitmap && !!aMask && aBitmap.GetSizePixel() != aMask.GetSizePixel()) in BitmapEx()
133 aMask.Scale(aBitmap.GetSizePixel()); in BitmapEx()
137 if( !!aMask && aMask.GetBitCount() != 1 ) in BitmapEx()
140 aMask.ImplMakeMono( 255 ); in BitmapEx()
148 aMask ( rAlphaMask.ImplGetBitmap() ), in BitmapEx()
153 if(!!aBitmap && !!aMask && aBitmap.GetSizePixel() != aMask.GetSizePixel()) in BitmapEx()
156 aMask.Scale(rBmp.GetSizePixel()); in BitmapEx()
162 if( aBitmap.GetBitCount() < aMask.GetBitCount() ) in BitmapEx()
175 aMask = aBitmap.CreateMask( aTransparentColor ); in BitmapEx()
177 DBG_ASSERT( rBmp.GetSizePixel() == aMask.GetSizePixel(), in BitmapEx()
196 aMask = rBitmapEx.aMask; in operator =()
225 return( ( aMask == rBitmapEx.aMask ) && ( bAlpha == rBitmapEx.bAlpha ) ); in operator ==()
235 rBmpEx.aMask.IsEqual( aMask ) ); in IsEqual()
242 return( aBitmap.IsEmpty() && aMask.IsEmpty() ); in IsEmpty()
250 aMask.SetEmpty(); in SetEmpty()
289 aTempMask = aMask; in GetBitmap()
317 if( !aRet.aMask.IsEmpty() ) in GetColorTransformedBitmapEx()
319 aRet.aMask.CombineSimple( aRet.aBitmap, BMP_COMBINE_OR ); in GetColorTransformedBitmapEx()
322 DBG_ASSERT( aRet.aBitmap.GetSizePixel() == aRet.aMask.GetSizePixel(), in GetColorTransformedBitmapEx()
334 Bitmap aRet( aMask ); in GetMask()
349 aAlpha.ImplSetBitmap( aMask ); in GetAlpha()
351 aAlpha = aMask; in GetAlpha()
363 nSizeBytes += aMask.GetSizeBytes(); in GetSizeBytes()
381 if( ( TRANSPARENT_BITMAP == eTransparent ) && !aMask.IsEmpty() ) in GetChecksum()
383 UInt32ToSVBT32( aMask.GetChecksum(), aBT32 ); in GetChecksum()
427 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in Mirror()
428 aMask.Mirror( nMirrorFlags ); in Mirror()
444 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in Scale()
446 aMask.Scale( rScaleX, rScaleY, nScaleFlag ); in Scale()
451 DBG_ASSERT( !aMask || aBitmap.GetSizePixel() == aMask.GetSizePixel(), in Scale()
496 aMask = Bitmap( aBitmapSize, 1 ); in Rotate()
497 aMask.Erase( COL_BLACK ); in Rotate()
501 if( bRet && !!aMask ) in Rotate()
502 aMask.Rotate( nAngle10, COL_WHITE ); in Rotate()
509 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in Rotate()
510 aMask.Rotate( nAngle10, COL_WHITE ); in Rotate()
515 DBG_ASSERT( !aMask || aBitmap.GetSizePixel() == aMask.GetSizePixel(), in Rotate()
532 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in Crop()
533 aMask.Crop( rRectPixel ); in Crop()
537 DBG_ASSERT( !aMask || aBitmap.GetSizePixel() == aMask.GetSizePixel(), in Crop()
568 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in Expand()
571 aMask.Expand( nDX, nDY, &aColor ); in Expand()
576 DBG_ASSERT( !aMask || aBitmap.GetSizePixel() == aMask.GetSizePixel(), in Expand()
596 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in CopyPixel()
597 aMask.CopyPixel( rRectDst, rRectSrc ); in CopyPixel()
612 ((AlphaMask*) &aMask)->CopyPixel( rRectDst, rRectSrc, (AlphaMask*)&pBmpExSrc->aMask ); in CopyPixel()
615 AlphaMask* pAlpha = new AlphaMask( aMask ); in CopyPixel()
617 aMask = pAlpha->ImplGetBitmap(); in CopyPixel()
620 aMask.CopyPixel( rRectDst, rRectSrc, &pBmpExSrc->aMask ); in CopyPixel()
627 aMask = pAlpha->ImplGetBitmap(); in CopyPixel()
631 aMask.CopyPixel( rRectDst, rRectSrc, &pBmpExSrc->aMask ); in CopyPixel()
638 AlphaMask aAlpha( pBmpExSrc->aMask ); in CopyPixel()
639 aMask.CopyPixel( rRectDst, rRectSrc, &aAlpha.ImplGetBitmap() ); in CopyPixel()
642 aMask.CopyPixel( rRectDst, rRectSrc, &pBmpExSrc->aMask ); in CopyPixel()
645 aMask = Bitmap( GetSizePixel(), 1 ); in CopyPixel()
646 aMask.Erase( Color( COL_BLACK ) ); in CopyPixel()
648 aMask.CopyPixel( rRectDst, rRectSrc, &pBmpExSrc->aMask ); in CopyPixel()
656 aMask.CopyPixel( rRectDst, rRectSrc, &aAlphaSrc.ImplGetBitmap() ); in CopyPixel()
663 aMask.CopyPixel( rRectDst, rRectSrc, &aMaskSrc ); in CopyPixel()
682 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in Erase()
688 aMask.Erase( aFill ); in Erase()
693 aMask.Erase( aBlack ); in Erase()
803 if(!aMask.IsEmpty()) in GetTransparency()
805 Bitmap aTestBitmap(aMask); in GetTransparency()
925 … const Bitmap aMask(impTransformBitmap(GetMask(), aDestinationSize, rTransformation, false)); in TransformBitmapEx() local
926 return BitmapEx(aDestination, aMask); in TransformBitmapEx()