SkMultiPictureDocumentPriv.h 638 B

123456789101112131415161718192021
  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. #ifndef SkMultiPictureDocumentPriv_DEFINED
  8. #define SkMultiPictureDocumentPriv_DEFINED
  9. #include "src/utils/SkMultiPictureDocument.h"
  10. /**
  11. * Additional API allows one to read the array of page-sizes without parsing
  12. * the entire file. Used by DM.
  13. */
  14. bool SkMultiPictureDocumentReadPageSizes(SkStreamSeekable* src,
  15. SkDocumentPage* dstArray,
  16. int dstArrayCount);
  17. #endif // SkMultiPictureDocumentPriv_DEFINED