diff -r f93c875b566e -r 3a60ebea00d0 uiacceltk/hitchcock/coretoolkit/src/huicanvaswspainter.cpp --- a/uiacceltk/hitchcock/coretoolkit/src/huicanvaswspainter.cpp Tue May 25 13:39:57 2010 +0300 +++ b/uiacceltk/hitchcock/coretoolkit/src/huicanvaswspainter.cpp Wed Jun 09 10:41:25 2010 +0300 @@ -566,6 +566,12 @@ // Clip drawing to update area. This seems to improve performance although // it may depend on used HW. + + // Set position delta to zero, otherwise updateregion is adjusted incorrectly + // in SW mode. No effect on HW mode as it does not adjust the updateregion in + // EnableUpdateRegion call... + TPoint delta(0,0); + iCanvasWsGc->SetPositionDelta(delta); iCanvasWsGc->EnableUpdateRegion(iCommandBuffers[cb]->iUpdateRegion, aClearBeforeHandlingBuffers); #ifdef HUI_DEBUG_PRINT_PERFORMANCE_INTERVAL