OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 | 10 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 const SkScalar pos[], SkScalar constY, | 104 const SkScalar pos[], SkScalar constY, |
105 int scalarsPerPos, const SkPaint&) SK_OVERRIDE; | 105 int scalarsPerPos, const SkPaint&) SK_OVERRIDE; |
106 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, | 106 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, |
107 const SkPath& path, const SkMatrix* matrix, | 107 const SkPath& path, const SkMatrix* matrix, |
108 const SkPaint&) SK_OVERRIDE; | 108 const SkPaint&) SK_OVERRIDE; |
109 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCou
nt, | 109 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCou
nt, |
110 const SkPoint verts[], const SkPoint texs[], | 110 const SkPoint verts[], const SkPoint texs[], |
111 const SkColor colors[], SkXfermode* xmode, | 111 const SkColor colors[], SkXfermode* xmode, |
112 const uint16_t indices[], int indexCount, | 112 const uint16_t indices[], int indexCount, |
113 const SkPaint&) SK_OVERRIDE; | 113 const SkPaint&) SK_OVERRIDE; |
| 114 virtual void drawPatch(const SkDraw&, const SkPatch& patch, const SkPaint& p
aint) SK_OVERRIDE; |
114 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, | 115 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, |
115 const SkPaint&) SK_OVERRIDE; | 116 const SkPaint&) SK_OVERRIDE; |
116 virtual bool filterTextFlags(const SkPaint&, TextFlags*) SK_OVERRIDE; | 117 virtual bool filterTextFlags(const SkPaint&, TextFlags*) SK_OVERRIDE; |
117 | 118 |
118 virtual void flush() SK_OVERRIDE; | 119 virtual void flush() SK_OVERRIDE; |
119 | 120 |
120 virtual void onAttachToCanvas(SkCanvas* canvas) SK_OVERRIDE; | 121 virtual void onAttachToCanvas(SkCanvas* canvas) SK_OVERRIDE; |
121 virtual void onDetachFromCanvas() SK_OVERRIDE; | 122 virtual void onDetachFromCanvas() SK_OVERRIDE; |
122 | 123 |
123 virtual const SkBitmap& onAccessBitmap() SK_OVERRIDE; | 124 virtual const SkBitmap& onAccessBitmap() SK_OVERRIDE; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 bool bicubic); | 213 bool bicubic); |
213 | 214 |
214 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 215 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
215 | 216 |
216 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 217 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
217 | 218 |
218 typedef SkBaseDevice INHERITED; | 219 typedef SkBaseDevice INHERITED; |
219 }; | 220 }; |
220 | 221 |
221 #endif | 222 #endif |
OLD | NEW |