OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PRINTING_COMMON_PDF_METAFILE_UTILS_H_ |
| 6 #define PRINTING_COMMON_PDF_METAFILE_UTILS_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "skia/ext/platform_canvas.h" |
| 11 #include "third_party/skia/include/core/SkDocument.h" |
| 12 #include "third_party/skia/include/core/SkRefCnt.h" |
| 13 #include "third_party/skia/include/core/SkStream.h" |
| 14 |
| 15 namespace printing { |
| 16 |
| 17 enum SkiaDocumentType { |
| 18 PDF_SKIA_DOCUMENT_TYPE, |
| 19 // MSKP is an experimental, fragile, and diagnostic-only document type. |
| 20 MSKP_SKIA_DOCUMENT_TYPE, |
| 21 }; |
| 22 |
| 23 sk_sp<SkDocument> MakePdfDocument(const std::string& creator, |
| 24 SkWStream* stream); |
| 25 |
| 26 } // namespace printing |
| 27 |
| 28 #endif // PRINTING_COMMON_PDF_METAFILE_UTILS_H_ |
OLD | NEW |