Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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
10 #include "SkBitmap.h"
11 #include "SkStream.h"
13 #ifdef SK_BUILD_POPPLER
14 bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output);
15 #endif // SK_BUILD_POPPLER
17 #ifdef SK_BUILD_NATIVE_PDF_RENDERER
18 bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output);
19 #endif // SK_BUILD_NATIVE_PDF_RENDERER
21 #endif