Skia
2D Graphics Library
SkXPSDocument.h
Go to the documentation of this file.
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 
16 
17 struct IXpsOMObjectFactory;
18 
19 namespace SkXPS {
20 
22  IXpsOMObjectFactory* xpsFactory,
24 
25 } // namespace SkXPS
26 #endif // SK_BUILD_FOR_WIN
27 #endif // SkXPSDocument_DEFINED
static constexpr SkScalar SK_ScalarDefaultRasterDPI
SK_ScalarDefaultDPI is 72 dots per inch.
Definition: SkDocument.h:20
float SkScalar
Definition: SkScalar.h:14
Definition: SkStream.h:218
Shared pointer class to wrap classes that support a ref()/unref() interface.
Definition: SkRefCnt.h:220
SK_API sk_sp< SkDocument > MakeDocument(SkWStream *stream, const Metadata &metadata)
Create a PDF-backed document, writing the results into a SkWStream.