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

Side by Side Diff: include/device/xps/SkXPSDevice.h

Issue 978443002: Revert of XPS, DM: add SkDocument::CreateXPS (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « include/core/SkDocument.h ('k') | src/device/xps/SkXPSDevice.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkXPSDevice_DEFINED 8 #ifndef SkXPSDevice_DEFINED
9 #define SkXPSDevice_DEFINED 9 #define SkXPSDevice_DEFINED
10 10
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12
13 #include <ObjBase.h> 12 #include <ObjBase.h>
14 #include <XpsObjectModel.h> 13 #include <XpsObjectModel.h>
15 14
16 #include "SkAutoCoInitialize.h" 15 #include "SkAutoCoInitialize.h"
17 #include "SkBitmapDevice.h" 16 #include "SkBitmapDevice.h"
18 #include "SkBitSet.h" 17 #include "SkBitSet.h"
19 #include "SkCanvas.h" 18 #include "SkCanvas.h"
20 #include "SkColor.h" 19 #include "SkColor.h"
21 #include "SkPaint.h" 20 #include "SkPaint.h"
22 #include "SkPath.h" 21 #include "SkPath.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 const void* text, size_t len, 112 const void* text, size_t len,
114 SkScalar x, SkScalar y, 113 SkScalar x, SkScalar y,
115 const SkPaint& paint) SK_OVERRIDE; 114 const SkPaint& paint) SK_OVERRIDE;
116 115
117 virtual void drawPosText( 116 virtual void drawPosText(
118 const SkDraw&, 117 const SkDraw&,
119 const void* text, size_t len, 118 const void* text, size_t len,
120 const SkScalar pos[], int scalarsPerPos, 119 const SkScalar pos[], int scalarsPerPos,
121 const SkPoint& offset, const SkPaint& paint) SK_OVERRIDE; 120 const SkPoint& offset, const SkPaint& paint) SK_OVERRIDE;
122 121
122 virtual void drawTextOnPath(
123 const SkDraw&,
124 const void* text, size_t len,
125 const SkPath& path,
126 const SkMatrix* matrix,
127 const SkPaint& paint) SK_OVERRIDE;
128
123 virtual void drawVertices( 129 virtual void drawVertices(
124 const SkDraw&, 130 const SkDraw&,
125 SkCanvas::VertexMode, 131 SkCanvas::VertexMode,
126 int vertexCount, const SkPoint verts[], 132 int vertexCount, const SkPoint verts[],
127 const SkPoint texs[], const SkColor colors[], 133 const SkPoint texs[], const SkColor colors[],
128 SkXfermode* xmode, 134 SkXfermode* xmode,
129 const uint16_t indices[], int indexCount, 135 const uint16_t indices[], int indexCount,
130 const SkPaint& paint) SK_OVERRIDE; 136 const SkPaint& paint) SK_OVERRIDE;
131 137
132 virtual void drawDevice( 138 virtual void drawDevice(
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 SkBaseDevice* onCreateCompatibleDevice(const CreateInfo&) SK_OVERRIDE; 320 SkBaseDevice* onCreateCompatibleDevice(const CreateInfo&) SK_OVERRIDE;
315 321
316 // Disable the default copy and assign implementation. 322 // Disable the default copy and assign implementation.
317 SkXPSDevice(const SkXPSDevice&); 323 SkXPSDevice(const SkXPSDevice&);
318 void operator=(const SkXPSDevice&); 324 void operator=(const SkXPSDevice&);
319 325
320 typedef SkBitmapDevice INHERITED; 326 typedef SkBitmapDevice INHERITED;
321 }; 327 };
322 328
323 #endif 329 #endif
OLDNEW
« no previous file with comments | « include/core/SkDocument.h ('k') | src/device/xps/SkXPSDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698