blob: 82ec09233ff879bb3465d7d22daa3a2728730698 [file] [log] [blame]
commit-bot@chromium.org327c0812013-08-20 18:57:01 +00001/*
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.org1066f082014-01-10 19:09:00 +000013#ifdef SK_BUILD_POPPLER
commit-bot@chromium.org327c0812013-08-20 18:57:01 +000014bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output);
commit-bot@chromium.org1066f082014-01-10 19:09:00 +000015#endif // SK_BUILD_POPPLER
commit-bot@chromium.org23a91212013-11-12 17:44:28 +000016
17#ifdef SK_BUILD_NATIVE_PDF_RENDERER
commit-bot@chromium.orgffd178c2013-11-11 15:10:47 +000018bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output);
commit-bot@chromium.org23a91212013-11-12 17:44:28 +000019#endif // SK_BUILD_NATIVE_PDF_RENDERER
commit-bot@chromium.org327c0812013-08-20 18:57:01 +000020
21#endif