OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkPDFDevice.h" | 8 #include "SkPDFDevice.h" |
9 | 9 |
10 #include "SkAnnotation.h" | 10 #include "SkAnnotation.h" |
(...skipping 2312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2323 | 2323 |
2324 SkPDFUtils::DrawFormXObject(this->addXObjectResource(image.get()), | 2324 SkPDFUtils::DrawFormXObject(this->addXObjectResource(image.get()), |
2325 &content.entry()->fContent); | 2325 &content.entry()->fContent); |
2326 } | 2326 } |
2327 | 2327 |
2328 bool SkPDFDevice::onReadPixels(const SkBitmap& bitmap, int x, int y, | 2328 bool SkPDFDevice::onReadPixels(const SkBitmap& bitmap, int x, int y, |
2329 SkCanvas::Config8888) { | 2329 SkCanvas::Config8888) { |
2330 return false; | 2330 return false; |
2331 } | 2331 } |
2332 | 2332 |
2333 bool SkPDFDevice::allowImageFilter(SkImageFilter*) { | 2333 bool SkPDFDevice::allowImageFilter(const SkImageFilter*) { |
2334 return false; | 2334 return false; |
2335 } | 2335 } |
OLD | NEW |