#ifndef SkMultiPictureDocument_DEFINED
#define SkMultiPictureDocument_DEFINED
#include "include/core/SkPicture.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSize.h"
#include "include/core/SkTypes.h"
#include <functional>
class SkDocument;
class SkStreamSeekable;
class SkWStream;
struct SkDeserialProcs;
struct SkSerialProcs;
struct SkDocumentPage { … };
namespace SkMultiPictureDocument {
SK_API sk_sp<SkDocument> Make(SkWStream* dst, const SkSerialProcs* = nullptr,
std::function<void(const SkPicture*)> onEndPage = nullptr);
SK_API int ReadPageCount(SkStreamSeekable* src);
SK_API bool Read(SkStreamSeekable* src,
SkDocumentPage* dstArray,
int dstArrayCount,
const SkDeserialProcs* = nullptr);
}
#endif