SkStreamSeekable is a SkStreamRewindable for which position, seek, move, and fork are required.
Definition: SkStream.h:166
SK_API sk_sp< SkDocument > Make(SkWStream *dst, const SkSerialProcs *=nullptr, std::function< void(const SkPicture *)> onEndPage=nullptr)
Writes into a file format that is similar to SkPicture::serialize() Accepts a callback for endPage be...
SK_API bool Read(SkStreamSeekable *src, SkDocumentPage *dstArray, int dstArrayCount, const SkDeserialProcs *=nullptr)
Read the SkMultiPictureDocument into the provided array of pages.
Definition: SkMultiPictureDocument.h:24
sk_sp< SkPicture > fPicture
Definition: SkMultiPictureDocument.h:25
SkSize fSize
Definition: SkMultiPictureDocument.h:26