blob: 36bd086c744cfd33a1a6013926d085015078c1cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* 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"
#ifdef SK_BUILD_POPPLER
// Deletes pdf when finished.
bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output);
#endif // SK_BUILD_POPPLER
#ifdef SK_BUILD_NATIVE_PDF_RENDERER
// Deletes pdf when finished.
bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output);
#endif // SK_BUILD_NATIVE_PDF_RENDERER
#endif
|