1 /* 2 * Copyright 2014 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 #ifndef PageCachingDocument_DEFINED 8 #define PageCachingDocument_DEFINED 9 10 #include "SkScalar.h" 11 12 class SkBitmap; 13 class SkData; 14 class SkDocument; 15 class SkWStream; 16 17 SkDocument* CreatePageCachingDocument( 18 SkWStream* stream, 19 void (*done)(SkWStream*, bool) = NULL, 20 SkData* (*encoder)(size_t*, const SkBitmap&) = NULL, 21 SkScalar rasterDpi = 72.0); 22 #endif // PageCachingDocument_DEFINED 23