aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-12-07 18:34:08 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-12-07 18:34:08 +0000
commit982cb875f01e247843b9a79082f680cdcf234c2c (patch)
tree8d09237a3e106a1472555ebd80fef98c9f46d56a /src/pdf
parent8e6d914b87a882ebf6ffe8f4be53b86ffec5cf62 (diff)
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
Diffstat (limited to 'src/pdf')
-rw-r--r--src/pdf/SkPDFDevice.cpp9
1 files changed, 9 insertions, 0 deletions
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;
+}