blob: 19be1ae6197cad23b1a23c5a8fd805b8e733b146 [file] [log] [blame]
/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef PageCachingDocument_DEFINED
#define PageCachingDocument_DEFINED
#include "SkScalar.h"
class SkBitmap;
class SkData;
class SkDocument;
class SkWStream;
SkDocument* CreatePageCachingDocument(
SkWStream* stream,
void (*done)(SkWStream*, bool) = NULL,
SkData* (*encoder)(size_t*, const SkBitmap&) = NULL,
SkScalar rasterDpi = 72.0);
#endif // PageCachingDocument_DEFINED