--- 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*/)