Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: include/device/xps/SkXPSDevice.h

Issue 963953002: XPS, DM: add SkDocument::CreateXPS (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix conics Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: include/device/xps/SkXPSDevice.h
diff --git a/include/device/xps/SkXPSDevice.h b/include/device/xps/SkXPSDevice.h
index 59cc113718b03bc4f7402a8c73835362e9dba749..f2946338b9be9f51336bae0e92448f41012607bc 100644
--- a/include/device/xps/SkXPSDevice.h
+++ b/include/device/xps/SkXPSDevice.h
@@ -9,6 +9,9 @@
#define SkXPSDevice_DEFINED
#include "SkTypes.h"
+
+#ifdef SK_SUPPORT_XPS
+
#include <ObjBase.h>
#include <XpsObjectModel.h>
@@ -119,13 +122,6 @@ protected:
const SkScalar pos[], int scalarsPerPos,
const SkPoint& offset, const SkPaint& paint) SK_OVERRIDE;
- virtual void drawTextOnPath(
- const SkDraw&,
- const void* text, size_t len,
- const SkPath& path,
- const SkMatrix* matrix,
- const SkPaint& paint) SK_OVERRIDE;
-
virtual void drawVertices(
const SkDraw&,
SkCanvas::VertexMode,
@@ -326,4 +322,5 @@ private:
typedef SkBitmapDevice INHERITED;
};
-#endif
+#endif // SK_SUPPORT_XPS
+#endif // SkXPSDevice_DEFINED

Powered by Google App Engine
This is Rietveld 408576698