OLD | NEW |
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 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 | 111 |
112 virtual void drawText( | 112 virtual void drawText( |
113 const SkDraw&, | 113 const SkDraw&, |
114 const void* text, size_t len, | 114 const void* text, size_t len, |
115 SkScalar x, SkScalar y, | 115 SkScalar x, SkScalar y, |
116 const SkPaint& paint) SK_OVERRIDE; | 116 const SkPaint& paint) SK_OVERRIDE; |
117 | 117 |
118 virtual void drawPosText( | 118 virtual void drawPosText( |
119 const SkDraw&, | 119 const SkDraw&, |
120 const void* text, size_t len, | 120 const void* text, size_t len, |
121 const SkScalar pos[], SkScalar constY, int scalarsPerPos, | 121 const SkScalar pos[], int scalarsPerPos, |
122 const SkPaint& paint) SK_OVERRIDE; | 122 const SkPoint& offset, const SkPaint& paint) SK_OVERRIDE; |
123 | 123 |
124 virtual void drawTextOnPath( | 124 virtual void drawTextOnPath( |
125 const SkDraw&, | 125 const SkDraw&, |
126 const void* text, size_t len, | 126 const void* text, size_t len, |
127 const SkPath& path, | 127 const SkPath& path, |
128 const SkMatrix* matrix, | 128 const SkMatrix* matrix, |
129 const SkPaint& paint) SK_OVERRIDE; | 129 const SkPaint& paint) SK_OVERRIDE; |
130 | 130 |
131 virtual void drawVertices( | 131 virtual void drawVertices( |
132 const SkDraw&, | 132 const SkDraw&, |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE; | 322 virtual SkBaseDevice* onCreateDevice(const SkImageInfo&, Usage) SK_OVERRIDE; |
323 | 323 |
324 // Disable the default copy and assign implementation. | 324 // Disable the default copy and assign implementation. |
325 SkXPSDevice(const SkXPSDevice&); | 325 SkXPSDevice(const SkXPSDevice&); |
326 void operator=(const SkXPSDevice&); | 326 void operator=(const SkXPSDevice&); |
327 | 327 |
328 typedef SkBitmapDevice INHERITED; | 328 typedef SkBitmapDevice INHERITED; |
329 }; | 329 }; |
330 | 330 |
331 #endif | 331 #endif |
OLD | NEW |