diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-0ECBFCA7-D398-53CE-BAF4-86CFB0124A0E.dita --- a/Symbian3/PDK/Source/GUID-0ECBFCA7-D398-53CE-BAF4-86CFB0124A0E.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-0ECBFCA7-D398-53CE-BAF4-86CFB0124A0E.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,18 +1,18 @@ - - - - - -Copying a Screen Area

This topic provides an example that shows how to use CBitmapContext::CopyRect() to copy from one screen area to another.

... -TPoint screenOrigin(0,0); // top left of the screen -TSize area1(100,100); // size of area to copy -rect.SetRect(screenOrigin,area1); // set rectangle to copy -TPoint offset(area1.iWidth,0); // target area to right of copied area -gc.CopyRect(offset,rect); // copy rect to target + + + + + +Copying a Screen Area

This topic provides an example that shows how to use CBitmapContext::CopyRect() to copy from one screen area to another.

... +TPoint screenOrigin(0,0); // top left of the screen +TSize area1(100,100); // size of area to copy +rect.SetRect(screenOrigin,area1); // set rectangle to copy +TPoint offset(area1.iWidth,0); // target area to right of copied area +gc.CopyRect(offset,rect); // copy rect to target ...
BitGDI Tutorials BitGDI Component
\ No newline at end of file