commit-bot@chromium.org | 327c081 | 2013-08-20 18:57:01 +0000 | [diff] [blame] | 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 | |
commit-bot@chromium.org | 1066f08 | 2014-01-10 19:09:00 +0000 | [diff] [blame] | 13 | #ifdef SK_BUILD_POPPLER |
commit-bot@chromium.org | 327c081 | 2013-08-20 18:57:01 +0000 | [diff] [blame] | 14 | bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output); |
commit-bot@chromium.org | 1066f08 | 2014-01-10 19:09:00 +0000 | [diff] [blame] | 15 | #endif // SK_BUILD_POPPLER |
commit-bot@chromium.org | 23a9121 | 2013-11-12 17:44:28 +0000 | [diff] [blame] | 16 | |
| 17 | #ifdef SK_BUILD_NATIVE_PDF_RENDERER |
commit-bot@chromium.org | ffd178c | 2013-11-11 15:10:47 +0000 | [diff] [blame] | 18 | bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output); |
commit-bot@chromium.org | 23a9121 | 2013-11-12 17:44:28 +0000 | [diff] [blame] | 19 | #endif // SK_BUILD_NATIVE_PDF_RENDERER |
commit-bot@chromium.org | 327c081 | 2013-08-20 18:57:01 +0000 | [diff] [blame] | 20 | |
| 21 | #endif |