svgtopt/VGRenderer/PseudoVG/src/PseudoVGSurfaceImpl.cpp
branchRCL_3
changeset 14 9be6eed35a80
parent 0 d46562c3d99d
child 17 db5c883ad1c5
--- a/svgtopt/VGRenderer/PseudoVG/src/PseudoVGSurfaceImpl.cpp	Tue Apr 27 17:34:09 2010 +0300
+++ b/svgtopt/VGRenderer/PseudoVG/src/PseudoVGSurfaceImpl.cpp	Tue May 11 17:02:26 2010 +0300
@@ -50,8 +50,8 @@
 TInt CPseudoVGSurfaceImpl::InitializeSurface(TSize aSize, TInt /*aColorSpace*/)
     {
     iSize = aSize;
-    iPseodoVGRendererImpl->EmptyEncodedData();
-    return KErrNone;
+    return iPseodoVGRendererImpl->vgGetError();
+    
     }
 
 void CPseudoVGSurfaceImpl::SetConfiguration(TInt aOption, const TAny* aValue)
@@ -69,8 +69,9 @@
 
 TInt CPseudoVGSurfaceImpl::ResizeSurface(TSize aSize)
     {
-    iSize = aSize;
-    return KErrNone;
+    iSize = aSize;    
+    iPseodoVGRendererImpl->EmptyEncodedData();
+    return iPseodoVGRendererImpl->vgGetError();
     }
 
 TInt CPseudoVGSurfaceImpl::CopyBitmap(TInt aDisplayMode, TInt aMaskMode,CFbsBitmap *aBitmap, CFbsBitmap *aMask, TSize /*aSize*/)