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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 const SkMatrix&, const SkPaint&) SK_OVERRIDE; | 83 const SkMatrix&, const SkPaint&) SK_OVERRIDE; |
84 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, | 84 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, |
85 const SkRect* srcOrNull, const SkRect& dst, | 85 const SkRect* srcOrNull, const SkRect& dst, |
86 const SkPaint& paint, | 86 const SkPaint& paint, |
87 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE
; | 87 SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE
; |
88 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, | 88 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, |
89 int x, int y, const SkPaint& paint); | 89 int x, int y, const SkPaint& paint); |
90 virtual void drawText(const SkDraw&, const void* text, size_t len, | 90 virtual void drawText(const SkDraw&, const void* text, size_t len, |
91 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; | 91 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; |
92 virtual void drawPosText(const SkDraw&, const void* text, size_t len, | 92 virtual void drawPosText(const SkDraw&, const void* text, size_t len, |
93 const SkScalar pos[], SkScalar constY, | 93 const SkScalar pos[], int scalarsPerPos, |
94 int scalarsPerPos, const SkPaint&) SK_OVERRIDE; | 94 const SkPoint& offset, const SkPaint&) SK_OVERRIDE; |
95 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, | 95 virtual void drawTextOnPath(const SkDraw&, const void* text, size_t len, |
96 const SkPath& path, const SkMatrix* matrix, | 96 const SkPath& path, const SkMatrix* matrix, |
97 const SkPaint&) SK_OVERRIDE; | 97 const SkPaint&) SK_OVERRIDE; |
98 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCou
nt, | 98 virtual void drawVertices(const SkDraw&, SkCanvas::VertexMode, int vertexCou
nt, |
99 const SkPoint verts[], const SkPoint texs[], | 99 const SkPoint verts[], const SkPoint texs[], |
100 const SkColor colors[], SkXfermode* xmode, | 100 const SkColor colors[], SkXfermode* xmode, |
101 const uint16_t indices[], int indexCount, | 101 const uint16_t indices[], int indexCount, |
102 const SkPaint&) SK_OVERRIDE; | 102 const SkPaint&) SK_OVERRIDE; |
103 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, | 103 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, |
104 const SkPaint&) SK_OVERRIDE; | 104 const SkPaint&) SK_OVERRIDE; |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 bool bicubic); | 200 bool bicubic); |
201 | 201 |
202 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); | 202 bool drawDashLine(const SkPoint pts[2], const SkPaint& paint); |
203 | 203 |
204 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 204 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
205 | 205 |
206 typedef SkBaseDevice INHERITED; | 206 typedef SkBaseDevice INHERITED; |
207 }; | 207 }; |
208 | 208 |
209 #endif | 209 #endif |
OLD | NEW |