diff options
author | 2015-03-03 08:34:14 -0800 | |
---|---|---|
committer | 2015-03-03 08:34:14 -0800 | |
commit | c2574f3657b1359496a4eba5b191961974b3a64f (patch) | |
tree | 4837addb7e2b9df8d35faa943408cb25aa206fbc /include/core/SkDocument.h | |
parent | 00d39bcbfc8394a9b48b86b04ab06ec19091fa43 (diff) |
Revert of XPS, DM: add SkDocument::CreateXPS (patchset #8 id:310001 of https://codereview.chromium.org/963953002/)
Reason for revert:
breaking iOS build.
Original issue's description:
> XPS, DM: add SkDocument::CreateXPS
>
> - SkDocument::CreateXPS() function added, returns NULL on non-Windows OS.
>
> - DM: (Windows only) an XPSSink is added, fails on non-Windows OS
>
> - DM: Common code for PDFSink::draw and XPSSink::draw are factored into
> draw_skdocument static function.
>
> - SkDocument_XPS (Windows only) implementation of SkDocument via
> SkXPSDevice.
>
> - SkDocument_XPS_None (non-Windows) returns NULL for
> SkDocument::CreateXPS().
>
> - gyp/xps.gyp refactored.
>
> - SkXPSDevice::drawTextOnPath removed (see http://crrev.com/925343003 )
>
> - SkXPSDevice::drawPath supports conics via SkAutoConicToQuads.
>
> NOPRESUBMIT=true
>
> Committed: https://skia.googlesource.com/skia/+/00d39bcbfc8394a9b48b86b04ab06ec19091fa43
TBR=reed@google.com,bungeman@google.com,mtklein@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/978443002
Diffstat (limited to 'include/core/SkDocument.h')
-rw-r--r-- | include/core/SkDocument.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/core/SkDocument.h b/include/core/SkDocument.h index 8d48aad25b..db8113f0e2 100644 --- a/include/core/SkDocument.h +++ b/include/core/SkDocument.h @@ -64,19 +64,6 @@ public: SkScalar dpi = SK_ScalarDefaultRasterDPI); /** - * Create a XPS-backed document, writing the results into the stream. - * Returns NULL if XPS is not supported. - */ - static SkDocument* CreateXPS(SkWStream* stream, - SkScalar dpi = SK_ScalarDefaultRasterDPI); - - /** - * Create a XPS-backed document, writing the results into a file. - * Returns NULL if XPS is not supported. - */ - static SkDocument* CreateXPS(const char path[], - SkScalar dpi = SK_ScalarDefaultRasterDPI); - /** * Begin a new page for the document, returning the canvas that will draw * into the page. The document owns this canvas, and it will go out of * scope when endPage() or close() is called, or the document is deleted. |