javauis/lcdui_akn/lcdgr/src/LcdGraphics.cpp
changeset 23 98ccebc37403
parent 21 2a9601315dfc
child 60 6c158198356e
equal deleted inserted replaced
21:2a9601315dfc 23:98ccebc37403
   843     iSurface->Begin(iBitmap, iCount);
   843     iSurface->Begin(iBitmap, iCount);
   844     aCanvas->DrawBackground(*iContext, aPosition, aSize);
   844     aCanvas->DrawBackground(*iContext, aPosition, aSize);
   845     iSurface->End(iCount);
   845     iSurface->End(iCount);
   846 
   846 
   847     CHECK_BITMAP_LOCK();
   847     CHECK_BITMAP_LOCK();
   848 
   848     
       
   849     // MMIDCanvas::DrawBackground modifies settings of iContext.
       
   850     // Reset pen and brush settings here, so they
       
   851     // are re-applied again when needed.
       
   852     iState = 0;
       
   853     iContext->SetPenStyle(CGraphicsContext::ENullPen);
       
   854     iContext->SetBrushStyle(CGraphicsContext::ENullBrush);
   849 }
   855 }
   850 
   856 
   851 TInt CLcdGraphics::DrawPixels
   857 TInt CLcdGraphics::DrawPixels
   852 (
   858 (
   853     TInt aType,
   859     TInt aType,