2018-09-07 18:33:14 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2017 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SkXPSDocument_DEFINED
|
|
|
|
#define SkXPSDocument_DEFINED
|
|
|
|
|
2019-04-23 17:05:21 +00:00
|
|
|
#include "include/core/SkTypes.h"
|
2018-09-07 18:33:14 +00:00
|
|
|
|
|
|
|
#ifdef SK_BUILD_FOR_WIN
|
|
|
|
|
2019-04-23 17:05:21 +00:00
|
|
|
#include "include/core/SkDocument.h"
|
2018-09-07 18:33:14 +00:00
|
|
|
|
|
|
|
struct IXpsOMObjectFactory;
|
|
|
|
|
|
|
|
namespace SkXPS {
|
|
|
|
|
|
|
|
SK_API sk_sp<SkDocument> MakeDocument(SkWStream* stream,
|
|
|
|
IXpsOMObjectFactory* xpsFactory,
|
|
|
|
SkScalar dpi = SK_ScalarDefaultRasterDPI);
|
|
|
|
|
|
|
|
} // namespace SkXPS
|
|
|
|
#endif // SK_BUILD_FOR_WIN
|
|
|
|
#endif // SkXPSDocument_DEFINED
|