blob: 36bd086c744cfd33a1a6013926d085015078c1cb [file] [log] [blame]
/*
* 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