halcanary | 45420a9 | 2016-06-02 12:41:14 -0700 | [diff] [blame] | 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 | |
Hal Canary | 45cde31 | 2017-04-03 16:06:42 -0400 | [diff] [blame] | 11 | #include "SkMultiPictureDocument.h" |
halcanary | 45420a9 | 2016-06-02 12:41:14 -0700 | [diff] [blame] | 12 | |
Hal Canary | 45cde31 | 2017-04-03 16:06:42 -0400 | [diff] [blame] | 13 | /** |
| 14 | * Additional API allows one to read the array of page-sizes without parsing |
| 15 | * the entire file. Used by DM. |
| 16 | */ |
| 17 | bool SkMultiPictureDocumentReadPageSizes(SkStreamSeekable* src, |
| 18 | SkDocumentPage* dstArray, |
| 19 | int dstArrayCount); |
halcanary | 45420a9 | 2016-06-02 12:41:14 -0700 | [diff] [blame] | 20 | |
| 21 | #endif // SkMultiPictureDocumentPriv_DEFINED |