diff -r 5072524fcc79 -r 80ef3a206772 Symbian3/PDK/Source/GUID-A3EBB297-1494-579C-83D5-8FDBBD01B674.dita --- a/Symbian3/PDK/Source/GUID-A3EBB297-1494-579C-83D5-8FDBBD01B674.dita Fri Jul 02 12:51:36 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-A3EBB297-1494-579C-83D5-8FDBBD01B674.dita Fri Jul 16 17:23:46 2010 +0100 @@ -19,7 +19,7 @@ // blit only the piece of the bitmap indicated by bmpPieceRect TPoint pos(100,100); -gc.BitBlt(pos, bitmap, bmpPieceRect);
Masked bitmap block transfer

Masks can be used to select which parts of a bitmap are drawn by CBitmapContext::BitBltMasked().

Masks can be used to not display pixels of the source bitmap if their corresponding mask pixel is black, or, alternatively, where the mask is white (called an inverted mask).

The following figure shows successively a source bitmap, a mask, and the outcome when they are blitted with BitBltMasked().

// Load the mask bitmap, just like any other +gc.BitBlt(pos, bitmap, bmpPieceRect);
Masked bitmap block transfer

Masks can be used to select which parts of a bitmap are drawn by CBitmapContext::BitBltMasked().

Masks can be used to not display pixels of the source bitmap if their corresponding mask pixel is black, or, alternatively, where the mask is white (called an inverted mask).

The following figure shows successively a source bitmap, a mask, and the outcome when they are blitted with BitBltMasked().

// Load the mask bitmap, just like any other CFbsBitmap* maskBitmap = new (ELeave) CFbsBitmap(); CleanupStack::PushL(maskBitmap); User::LeaveIfError(maskBitmap->