aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkMultiPictureDocumentPriv.h
blob: aff5b553379d4f5110318a0d71810dc4a1d8a854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Copyright 2016 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkMultiPictureDocumentPriv_DEFINED
#define SkMultiPictureDocumentPriv_DEFINED

#include "SkMultiPictureDocument.h"

/**
 *  Additional API allows one to read the array of page-sizes without parsing
 *  the entire file.  Used by DM.
 */
bool SkMultiPictureDocumentReadPageSizes(SkStreamSeekable* src,
                                         SkDocumentPage* dstArray,
                                         int dstArrayCount);

#endif  // SkMultiPictureDocumentPriv_DEFINED