Skia
2D Graphics Library
SkMultiPictureDocument.h File Reference
#include "include/core/SkPicture.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSize.h"
#include "include/core/SkTypes.h"
#include <functional>
Include dependency graph for SkMultiPictureDocument.h:

Go to the source code of this file.

Classes

struct  SkDocumentPage
 

Namespaces

 SkMultiPictureDocument
 

Functions

SK_API sk_sp< SkDocumentSkMultiPictureDocument::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 behavior. More...
 
SK_API int SkMultiPictureDocument::ReadPageCount (SkStreamSeekable *src)
 Returns the number of pages in the SkMultiPictureDocument. More...
 
SK_API bool SkMultiPictureDocument::Read (SkStreamSeekable *src, SkDocumentPage *dstArray, int dstArrayCount, const SkDeserialProcs *=nullptr)
 Read the SkMultiPictureDocument into the provided array of pages. More...