diff options
author | halcanary <halcanary@google.com> | 2016-06-02 12:41:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-02 12:41:14 -0700 |
commit | 45420a945cfce1b83da954ab5fcb63516f646c0f (patch) | |
tree | a05e2ac95d4425ae9d945c2f2490a78439a03d4f /src/utils/SkMultiPictureDocument.h | |
parent | fbce71f1ae2ff05adc584f2f0433435c93987e13 (diff) |
SkMultiPictureDocument & SkMultiPictureDocumentReader
also, a new DM::Src.
motivation: To be used to test the printing pipeline in Chromium.
BUG=skia:5370
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2023593002
Review-Url: https://codereview.chromium.org/2023593002
Diffstat (limited to 'src/utils/SkMultiPictureDocument.h')
-rw-r--r-- | src/utils/SkMultiPictureDocument.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/utils/SkMultiPictureDocument.h b/src/utils/SkMultiPictureDocument.h new file mode 100644 index 0000000000..1da105e1b6 --- /dev/null +++ b/src/utils/SkMultiPictureDocument.h @@ -0,0 +1,16 @@ +/* + * 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 SkMultiPictureDocument_DEFINED +#define SkMultiPictureDocument_DEFINED + +#include "SkDocument.h" + +/** Writes into an experimental, undocumented file format that is + useful for debugging documents printed via Skia. */ +SK_API sk_sp<SkDocument> SkMakeMultiPictureDocument(SkWStream* dst); + +#endif // SkMultiPictureDocument_DEFINED |