javauis/lcdui_akn/lcdui/src/CMIDCanvasGraphicsItemPainter.cpp
branchRCL_3
changeset 59 e5618cc85d74
parent 46 4376525cdefb
child 60 6c158198356e
equal deleted inserted replaced
46:4376525cdefb 59:e5618cc85d74
   116     {
   116     {
   117         switch (aOp->OpCode())
   117         switch (aOp->OpCode())
   118         {
   118         {
   119         case ESync:
   119         case ESync:
   120             // We redraw the proper drawing rect.
   120             // We redraw the proper drawing rect.
   121             DrawNow(TRect(iPosition, iViewSize));
   121             // The top-left point is set to PositionRelativeToScreen
       
   122             // in case that scaling is on.
       
   123             DrawNow(
       
   124                 TRect(
       
   125                     iContentRect.Size() != iViewSize ?
       
   126                         PositionRelativeToScreen() : iPosition,
       
   127                     iViewSize));
   122             break;
   128             break;
   123 
   129 
   124         case ESyncRect:
   130         case ESyncRect:
   125             TRect clip = *static_cast<const TRect*>(aOp->Data());
   131             TRect clip = *static_cast<const TRect*>(aOp->Data());
   126 
   132