blob: a669f471ccbc7349cd6d434f1d4fb433084de85c [file] [log] [blame]
Hal Canary23564b92018-09-07 14:33:14 -04001/*
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 "SkTypes.h"
12
13#ifdef SK_BUILD_FOR_WIN
14
15#include "SkDocument.h"
16
17struct IXpsOMObjectFactory;
18
19namespace SkXPS {
20
21SK_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