equal
deleted
inserted
replaced
203 |
203 |
204 TBool CHuiCanvasWsBitGc::IsRenderBufferEnabled() const |
204 TBool CHuiCanvasWsBitGc::IsRenderBufferEnabled() const |
205 { |
205 { |
206 return ETrue; |
206 return ETrue; |
207 } |
207 } |
|
208 |
|
209 void CHuiCanvasWsBitGc::ClearCapturingBufferArea(const TRect& aRect) |
|
210 { |
|
211 if ( iCapturingBitGc ) |
|
212 { |
|
213 TRgb clearColor = KRgbBlack; |
|
214 clearColor.SetAlpha(0x0); |
|
215 |
|
216 iCapturingBitGc->SetDrawMode(CGraphicsContext::EDrawModeWriteAlpha); |
|
217 iCapturingBitGc->SetPenColor(clearColor); |
|
218 iCapturingBitGc->SetBrushColor(clearColor); |
|
219 iCapturingBitGc->SetBrushStyle(CGraphicsContext::ESolidBrush); |
|
220 iCapturingBitGc->Clear(aRect); |
|
221 } |
|
222 } |