SkXPSDocument.h 645 B

123456789101112131415161718192021222324252627
  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. #ifndef SkXPSDocument_DEFINED
  8. #define SkXPSDocument_DEFINED
  9. #include "include/core/SkTypes.h"
  10. #ifdef SK_BUILD_FOR_WIN
  11. #include "include/core/SkDocument.h"
  12. struct IXpsOMObjectFactory;
  13. namespace SkXPS {
  14. SK_API sk_sp<SkDocument> MakeDocument(SkWStream* stream,
  15. IXpsOMObjectFactory* xpsFactory,
  16. SkScalar dpi = SK_ScalarDefaultRasterDPI);
  17. } // namespace SkXPS
  18. #endif // SK_BUILD_FOR_WIN
  19. #endif // SkXPSDocument_DEFINED