From 982cb875f01e247843b9a79082f680cdcf234c2c Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Wed, 7 Dec 2011 18:34:08 +0000 Subject: add SK_OVERRIDE, move subclass impls of virtuals into .cpp git-svn-id: http://skia.googlecode.com/svn/trunk@2823 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/pdf/SkPDFDevice.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/pdf') diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index 0c1e19a3c1..f46cade14f 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -562,6 +562,10 @@ void SkPDFDevice::cleanUp(bool clearFontUsage) { } } +uint32_t SkPDFDevice::getDeviceCapabilities() { + return kVector_Capability; +} + void SkPDFDevice::clear(SkColor color) { this->cleanUp(true); this->init(); @@ -1522,3 +1526,8 @@ void SkPDFDevice::internalDrawBitmap(const SkMatrix& matrix, SkPDFUtils::DrawFormXObject(fXObjectResources.count() - 1, &content.entry()->fContent); } + +bool SkPDFDevice::onReadPixels(const SkBitmap& bitmap, int x, int y, + SkCanvas::Config8888) { + return false; +} -- cgit v1.2.3