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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 virtual void drawPath(const SkDraw&, const SkPath& path, | 88 virtual void drawPath(const SkDraw&, const SkPath& path, |
89 const SkPaint& paint, const SkMatrix* prePathMatrix, | 89 const SkPaint& paint, const SkMatrix* prePathMatrix, |
90 bool pathIsMutable) SK_OVERRIDE; | 90 bool pathIsMutable) SK_OVERRIDE; |
91 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, | 91 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, |
92 const SkMatrix&, const SkPaint&) SK_OVERRIDE; | 92 const SkMatrix&, const SkPaint&) SK_OVERRIDE; |
93 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, | 93 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, |
94 const SkRect* srcOrNull, const SkRect& dst, | 94 const SkRect* srcOrNull, const SkRect& dst, |
95 const SkPaint& paint, | 95 const SkPaint& paint, |
96 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE
; | 96 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE
; |
97 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, | 97 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, |
98 int x, int y, const SkPaint& paint); | 98 int x, int y, const SkPaint& paint) SK_OVERRIDE; |
99 virtual void drawText(const SkDraw&, const void* text, size_t len, | 99 virtual void drawText(const SkDraw&, const void* text, size_t len, |
100 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; | 100 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; |
101 virtual void drawPosText(const SkDraw&, const void* text, size_t len, | 101 virtual void drawPosText(const SkDraw&, const void* text, size_t len, |
102 const SkScalar pos[], int scalarsPerPos, | 102 const SkScalar pos[], int scalarsPerPos, |
103 const SkPoint& offset, const SkPaint&) SK_OVERRIDE; | 103 const SkPoint& offset, const SkPaint&) SK_OVERRIDE; |
104 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, | 104 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, |
105 const SkPath& path, const SkMatrix* matrix, | 105 const SkPath& path, const SkMatrix* matrix, |
106 const SkPaint&) SK_OVERRIDE; | 106 const SkPaint&) SK_OVERRIDE; |
107 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCou
nt, | 107 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCou
nt, |
108 const SkPoint verts[], const SkPoint texs[], | 108 const SkPoint verts[], const SkPoint texs[], |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 bool bicubic); | 206 bool bicubic); |
207 | 207 |
208 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 208 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
209 | 209 |
210 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 210 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
211 | 211 |
212 typedef SkBaseDevice INHERITED; | 212 typedef SkBaseDevice INHERITED; |
213 }; | 213 }; |
214 | 214 |
215 #endif | 215 #endif |
OLD | NEW |