Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
SkMultiPictureDocumentPriv.h
Go to the documentation of this file.
1/*
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
12
13namespace SkMultiPictureDocument {
14/**
15 * Additional API allows one to read the array of page-sizes without parsing
16 * the entire file. Used by DM.
17 */
19 SkDocumentPage* dstArray,
20 int dstArrayCount);
21
22} // namespace SkMultiPictureDocument
23
24#endif // SkMultiPictureDocumentPriv_DEFINED
bool ReadPageSizes(SkStreamSeekable *stream, SkDocumentPage *dstArray, int dstArrayCount)