Hal Canary | 23564b9 | 2018-09-07 14:33:14 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2017 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 SkXPSDocument_DEFINED |
| 9 | #define SkXPSDocument_DEFINED |
| 10 | |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 11 | #include "include/core/SkTypes.h" |
Hal Canary | 23564b9 | 2018-09-07 14:33:14 -0400 | [diff] [blame] | 12 | |
| 13 | #ifdef SK_BUILD_FOR_WIN |
| 14 | |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 15 | #include "include/core/SkDocument.h" |
Hal Canary | 23564b9 | 2018-09-07 14:33:14 -0400 | [diff] [blame] | 16 | |
| 17 | struct IXpsOMObjectFactory; |
| 18 | |
| 19 | namespace SkXPS { |
| 20 | |
| 21 | SK_API sk_sp<SkDocument> MakeDocument(SkWStream* stream, |
| 22 | IXpsOMObjectFactory* xpsFactory, |
| 23 | SkScalar dpi = SK_ScalarDefaultRasterDPI); |
| 24 | |
| 25 | } // namespace SkXPS |
| 26 | #endif // SK_BUILD_FOR_WIN |
| 27 | #endif // SkXPSDocument_DEFINED |