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 11 #include "include/core/SkTypes.h" 12 13 #ifdef SK_BUILD_FOR_WIN 14 15 #include "include/core/SkDocument.h" 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 28