equal
deleted
inserted
replaced
48 } |
48 } |
49 |
49 |
50 TInt CPseudoVGSurfaceImpl::InitializeSurface(TSize aSize, TInt /*aColorSpace*/) |
50 TInt CPseudoVGSurfaceImpl::InitializeSurface(TSize aSize, TInt /*aColorSpace*/) |
51 { |
51 { |
52 iSize = aSize; |
52 iSize = aSize; |
53 iPseodoVGRendererImpl->EmptyEncodedData(); |
53 return iPseodoVGRendererImpl->vgGetError(); |
54 return KErrNone; |
54 |
55 } |
55 } |
56 |
56 |
57 void CPseudoVGSurfaceImpl::SetConfiguration(TInt aOption, const TAny* aValue) |
57 void CPseudoVGSurfaceImpl::SetConfiguration(TInt aOption, const TAny* aValue) |
58 { |
58 { |
59 if (aOption == BTIMAP_HEADER) |
59 if (aOption == BTIMAP_HEADER) |
67 return KErrNone; |
67 return KErrNone; |
68 } |
68 } |
69 |
69 |
70 TInt CPseudoVGSurfaceImpl::ResizeSurface(TSize aSize) |
70 TInt CPseudoVGSurfaceImpl::ResizeSurface(TSize aSize) |
71 { |
71 { |
72 iSize = aSize; |
72 iSize = aSize; |
73 return KErrNone; |
73 iPseodoVGRendererImpl->EmptyEncodedData(); |
|
74 return iPseodoVGRendererImpl->vgGetError(); |
74 } |
75 } |
75 |
76 |
76 TInt CPseudoVGSurfaceImpl::CopyBitmap(TInt aDisplayMode, TInt aMaskMode,CFbsBitmap *aBitmap, CFbsBitmap *aMask, TSize /*aSize*/) |
77 TInt CPseudoVGSurfaceImpl::CopyBitmap(TInt aDisplayMode, TInt aMaskMode,CFbsBitmap *aBitmap, CFbsBitmap *aMask, TSize /*aSize*/) |
77 { |
78 { |
78 const TPtr8 vgStream = iPseodoVGRendererImpl->GetEncodedData(); |
79 const TPtr8 vgStream = iPseodoVGRendererImpl->GetEncodedData(); |