summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/wx/ImageBufferWx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/wx/ImageBufferWx.cpp')
-rw-r--r--WebCore/platform/graphics/wx/ImageBufferWx.cpp37
1 files changed, 35 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/wx/ImageBufferWx.cpp b/WebCore/platform/graphics/wx/ImageBufferWx.cpp
index bc54a88..ea3dfe8 100644
--- a/WebCore/platform/graphics/wx/ImageBufferWx.cpp
+++ b/WebCore/platform/graphics/wx/ImageBufferWx.cpp
@@ -25,13 +25,22 @@
#include "config.h"
#include "ImageBuffer.h"
+
#include "GraphicsContext.h"
+#include "ImageData.h"
+#include "NotImplemented.h"
namespace WebCore {
-std::auto_ptr<ImageBuffer> ImageBuffer::create(const IntSize&, bool grayScale)
+ImageBufferData::ImageBufferData(const IntSize&)
{
- return std::auto_ptr<ImageBuffer>(new ImageBuffer());
+}
+
+ImageBuffer::ImageBuffer(const IntSize&, bool grayScale, bool& success) :
+ m_data(IntSize())
+{
+ notImplemented();
+ success = false;
}
ImageBuffer::~ImageBuffer()
@@ -40,7 +49,31 @@ ImageBuffer::~ImageBuffer()
GraphicsContext* ImageBuffer::context() const
{
+ notImplemented();
return 0;
}
+PassRefPtr<ImageData> ImageBuffer::getImageData(const IntRect&) const
+{
+ notImplemented();
+ return 0;
+}
+
+void ImageBuffer::putImageData(ImageData*, const IntRect&, const IntPoint&)
+{
+ notImplemented();
}
+
+String ImageBuffer::toDataURL(const String&) const
+{
+ notImplemented();
+ return String();
+}
+
+Image* ImageBuffer::image() const
+{
+ notImplemented();
+ return 0;
+}
+
+} // namespace WebCore