diff options
Diffstat (limited to 'src/pdf')
-rw-r--r-- | src/pdf/SkPDFDevice.cpp | 9 |
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; +} |