Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



How to copy a screen area

You can 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
...