SkDocument::CreateXPS fix roll
NOTRY=true TBR=reed@google.com Review-Url: https://codereview.chromium.org/1918713006
This commit is contained in:
parent
a4b0fed3b7
commit
eabaf79824
@ -184,23 +184,6 @@ public:
|
||||
return SkDocument::MakePDF(outputFilePath, dpi).release();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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) {
|
||||
return SkDocument::MakeXPS(stream, dpi).release();
|
||||
}
|
||||
|
||||
/**
|
||||
* 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) {
|
||||
return SkDocument::MakeXPS(path, dpi).release();
|
||||
}
|
||||
#endif // SK_SUPPORT_LEGACY_DOCUMENT_API
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user