blob: a33bcd99c1fae39a13b4f6a5a9867d9032eec0ab [file] [log] [blame]
halcanary45420a92016-06-02 12:41:14 -07001/*
2 * Copyright 2016 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
8#ifndef SkMultiPictureDocumentPriv_DEFINED
9#define SkMultiPictureDocumentPriv_DEFINED
10
Mike Kleinc0bd9f92019-04-23 12:05:21 -050011#include "src/utils/SkMultiPictureDocument.h"
halcanary45420a92016-06-02 12:41:14 -070012
Hal Canary45cde312017-04-03 16:06:42 -040013/**
14 * Additional API allows one to read the array of page-sizes without parsing
15 * the entire file. Used by DM.
16 */
17bool SkMultiPictureDocumentReadPageSizes(SkStreamSeekable* src,
18 SkDocumentPage* dstArray,
19 int dstArrayCount);
halcanary45420a92016-06-02 12:41:14 -070020
21#endif // SkMultiPictureDocumentPriv_DEFINED