| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright 2013 Google Inc. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 #ifndef SkPDFRasterizer_DEFINED | |
| 8 #define SkPDFRasterizer_DEFINED | |
| 9 | |
| 10 #include "SkBitmap.h" | |
| 11 #include "SkStream.h" | |
| 12 | |
| 13 #ifdef SK_BUILD_POPPLER | |
| 14 // Deletes pdf when finished. | |
| 15 bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output); | |
| 16 #endif // SK_BUILD_POPPLER | |
| 17 | |
| 18 #ifdef SK_BUILD_NATIVE_PDF_RENDERER | |
| 19 // Deletes pdf when finished. | |
| 20 bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output); | |
| 21 #endif // SK_BUILD_NATIVE_PDF_RENDERER | |
| 22 | |
| 23 #endif | |
| OLD | NEW |