1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/trunk/src/utils/SkPDFRasterizer.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +/* 1.5 + * Copyright 2013 Google Inc. 1.6 + * 1.7 + * Use of this source code is governed by a BSD-style license that can be 1.8 + * found in the LICENSE file. 1.9 + */ 1.10 +#ifndef SkPDFRasterizer_DEFINED 1.11 +#define SkPDFRasterizer_DEFINED 1.12 + 1.13 +#include "SkBitmap.h" 1.14 +#include "SkStream.h" 1.15 + 1.16 +#ifdef SK_BUILD_POPPLER 1.17 +bool SkPopplerRasterizePDF(SkStream* pdf, SkBitmap* output); 1.18 +#endif // SK_BUILD_POPPLER 1.19 + 1.20 +#ifdef SK_BUILD_NATIVE_PDF_RENDERER 1.21 +bool SkNativeRasterizePDF(SkStream* pdf, SkBitmap* output); 1.22 +#endif // SK_BUILD_NATIVE_PDF_RENDERER 1.23 + 1.24 +#endif