Lines Matching refs:aMask

58 		aMask				( rBitmapEx.aMask ),  in BitmapEx()
78 aMask = AlphaMask( aSize ).ImplGetBitmap(); in BitmapEx()
81 aMask = Bitmap( aSize, rBitmapEx.aMask.GetBitCount() ); in BitmapEx()
127 aMask ( rMask ), in BitmapEx()
132 if(!!aBitmap && !!aMask && aBitmap.GetSizePixel() != aMask.GetSizePixel()) in BitmapEx()
135 aMask.Scale(aBitmap.GetSizePixel()); in BitmapEx()
139 if( !!aMask && aMask.GetBitCount() != 1 ) in BitmapEx()
142 aMask.ImplMakeMono( 255 ); in BitmapEx()
150 aMask ( rAlphaMask.ImplGetBitmap() ), in BitmapEx()
155 if(!!aBitmap && !!aMask && aBitmap.GetSizePixel() != aMask.GetSizePixel()) in BitmapEx()
158 aMask.Scale(rBmp.GetSizePixel()); in BitmapEx()
164 if( aBitmap.GetBitCount() < aMask.GetBitCount() ) in BitmapEx()
177 aMask = aBitmap.CreateMask( aTransparentColor ); in BitmapEx()
179 DBG_ASSERT( rBmp.GetSizePixel() == aMask.GetSizePixel(), in BitmapEx()
198 aMask = rBitmapEx.aMask; in operator =()
227 return( ( aMask == rBitmapEx.aMask ) && ( bAlpha == rBitmapEx.bAlpha ) ); in operator ==()
237 rBmpEx.aMask.IsEqual( aMask ) ); in IsEqual()
244 return( aBitmap.IsEmpty() && aMask.IsEmpty() ); in IsEmpty()
252 aMask.SetEmpty(); in SetEmpty()
291 aTempMask = aMask; in GetBitmap()
319 if( !aRet.aMask.IsEmpty() ) in GetColorTransformedBitmapEx()
321 aRet.aMask.CombineSimple( aRet.aBitmap, BMP_COMBINE_OR ); in GetColorTransformedBitmapEx()
324 DBG_ASSERT( aRet.aBitmap.GetSizePixel() == aRet.aMask.GetSizePixel(), in GetColorTransformedBitmapEx()
336 Bitmap aRet( aMask ); in GetMask()
351 aAlpha.ImplSetBitmap( aMask ); in GetAlpha()
353 aAlpha = aMask; in GetAlpha()
365 nSizeBytes += aMask.GetSizeBytes(); in GetSizeBytes()
383 if( ( TRANSPARENT_BITMAP == eTransparent ) && !aMask.IsEmpty() ) in GetChecksum()
385 UInt32ToSVBT32( aMask.GetChecksum(), aBT32 ); in GetChecksum()
429 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in Mirror()
430 aMask.Mirror( nMirrorFlags ); in Mirror()
446 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in Scale()
448 aMask.Scale( rScaleX, rScaleY, nScaleFlag ); in Scale()
453 DBG_ASSERT( !aMask || aBitmap.GetSizePixel() == aMask.GetSizePixel(), in Scale()
498 aMask = Bitmap( aBitmapSize, 1 ); in Rotate()
499 aMask.Erase( COL_BLACK ); in Rotate()
503 if( bRet && !!aMask ) in Rotate()
504 aMask.Rotate( nAngle10, COL_WHITE ); in Rotate()
511 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in Rotate()
512 aMask.Rotate( nAngle10, COL_WHITE ); in Rotate()
517 DBG_ASSERT( !aMask || aBitmap.GetSizePixel() == aMask.GetSizePixel(), in Rotate()
534 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in Crop()
535 aMask.Crop( rRectPixel ); in Crop()
539 DBG_ASSERT( !aMask || aBitmap.GetSizePixel() == aMask.GetSizePixel(), in Crop()
570 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in Expand()
573 aMask.Expand( nDX, nDY, &aColor ); in Expand()
578 DBG_ASSERT( !aMask || aBitmap.GetSizePixel() == aMask.GetSizePixel(), in Expand()
598 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in CopyPixel()
599 aMask.CopyPixel( rRectDst, rRectSrc ); in CopyPixel()
614 ((AlphaMask*) &aMask)->CopyPixel( rRectDst, rRectSrc, (AlphaMask*)&pBmpExSrc->aMask ); in CopyPixel()
617 AlphaMask* pAlpha = new AlphaMask( aMask ); in CopyPixel()
619 aMask = pAlpha->ImplGetBitmap(); in CopyPixel()
622 aMask.CopyPixel( rRectDst, rRectSrc, &pBmpExSrc->aMask ); in CopyPixel()
629 aMask = pAlpha->ImplGetBitmap(); in CopyPixel()
633 aMask.CopyPixel( rRectDst, rRectSrc, &pBmpExSrc->aMask ); in CopyPixel()
640 AlphaMask aAlpha( pBmpExSrc->aMask ); in CopyPixel()
641 aMask.CopyPixel( rRectDst, rRectSrc, &aAlpha.ImplGetBitmap() ); in CopyPixel()
644 aMask.CopyPixel( rRectDst, rRectSrc, &pBmpExSrc->aMask ); in CopyPixel()
647 aMask = Bitmap( GetSizePixel(), 1 ); in CopyPixel()
648 aMask.Erase( Color( COL_BLACK ) ); in CopyPixel()
650 aMask.CopyPixel( rRectDst, rRectSrc, &pBmpExSrc->aMask ); in CopyPixel()
658 aMask.CopyPixel( rRectDst, rRectSrc, &aAlphaSrc.ImplGetBitmap() ); in CopyPixel()
665 aMask.CopyPixel( rRectDst, rRectSrc, &aMaskSrc ); in CopyPixel()
684 if( bRet && ( eTransparent == TRANSPARENT_BITMAP ) && !!aMask ) in Erase()
690 aMask.Erase( aFill ); in Erase()
695 aMask.Erase( aBlack ); in Erase()
805 if(!aMask.IsEmpty()) in GetTransparency()
807 Bitmap aTestBitmap(aMask); in GetTransparency()
927 const Bitmap aMask(impTransformBitmap(GetMask(), aDestinationSize, rTransformation, false)); in TransformBitmapEx() local
928 return BitmapEx(aDestination, aMask); in TransformBitmapEx()