OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 #ifndef SkPDFRasterizer_DEFINED | 7 #ifndef SkPDFRasterizer_DEFINED |
8 #define SkPDFRasterizer_DEFINED | 8 #define SkPDFRasterizer_DEFINED |
9 | 9 |
10 #include "SkBitmap.h" | 10 #include "SkBitmap.h" |
11 #include "SkStream.h" | 11 #include "SkStream.h" |
12 | 12 |
13 bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output); | 13 bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output); |
| 14 |
| 15 #ifdef SK_BUILD_NATIVE_PDF_RENDERER |
14 bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output); | 16 bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output); |
| 17 #endif // SK_BUILD_NATIVE_PDF_RENDERER |
15 | 18 |
16 #endif | 19 #endif |
OLD | NEW |