- Timestamp:
- 08/15/08 13:25:16 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BAL/WKAL/Concretizations/Graphics/Cairo/BCImageBufferCairo.cpp
r243 r437 32 32 #include "ImageData.h" 33 33 #include "NotImplemented.h" 34 #include "Pattern.h" 34 35 35 36 #include <cairo.h> … … 71 72 } 72 73 73 cairo_surface_t* ImageBuffer::surface() const74 {75 return m_surface;76 }77 78 74 Image* ImageBuffer::image() const 79 75 { … … 83 79 ASSERT(context()); 84 80 // BitmapImage will release the passed in surface on destruction 85 m_image .set(new BitmapImage(cairo_surface_reference(m_surface)));81 m_image = BitmapImage::create(cairo_surface_reference(m_surface)); 86 82 } 87 83 return m_image.get();
