summaryrefslogtreecommitdiff
path: root/chromium/third_party/skia/src/utils/SkPDFRasterizer.h
blob: ebc9fa610cae4a7c409479693ea6386e7fae88ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright 2013 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */
#ifndef SkPDFRasterizer_DEFINED
#define SkPDFRasterizer_DEFINED

#include "SkBitmap.h"
#include "SkStream.h"

bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output);

#ifdef SK_BUILD_NATIVE_PDF_RENDERER
bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output);
#endif  // SK_BUILD_NATIVE_PDF_RENDERER

#endif