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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 virtual void clear(SkColor color) SK_OVERRIDE; | 67 virtual void clear(SkColor color) SK_OVERRIDE; |
68 virtual void writePixels(const SkBitmap& bitmap, int x, int y, | 68 virtual void writePixels(const SkBitmap& bitmap, int x, int y, |
69 SkCanvas::Config8888 config8888) SK_OVERRIDE; | 69 SkCanvas::Config8888 config8888) SK_OVERRIDE; |
70 | 70 |
71 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE; | 71 virtual void drawPaint(const SkDraw&, const SkPaint& paint) SK_OVERRIDE; |
72 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t coun
t, | 72 virtual void drawPoints(const SkDraw&, SkCanvas::PointMode mode, size_t coun
t, |
73 const SkPoint[], const SkPaint& paint) SK_OVERRIDE; | 73 const SkPoint[], const SkPaint& paint) SK_OVERRIDE; |
74 virtual void drawRect(const SkDraw&, const SkRect& r, | 74 virtual void drawRect(const SkDraw&, const SkRect& r, |
75 const SkPaint& paint) SK_OVERRIDE; | 75 const SkPaint& paint) SK_OVERRIDE; |
| 76 virtual void drawRRect(const SkDraw&, const SkRRect& r, |
| 77 const SkPaint& paint) SK_OVERRIDE; |
76 virtual void drawOval(const SkDraw&, const SkRect& oval, | 78 virtual void drawOval(const SkDraw&, const SkRect& oval, |
77 const SkPaint& paint) SK_OVERRIDE; | 79 const SkPaint& paint) SK_OVERRIDE; |
78 virtual void drawPath(const SkDraw&, const SkPath& path, | 80 virtual void drawPath(const SkDraw&, const SkPath& path, |
79 const SkPaint& paint, const SkMatrix* prePathMatrix, | 81 const SkPaint& paint, const SkMatrix* prePathMatrix, |
80 bool pathIsMutable) SK_OVERRIDE; | 82 bool pathIsMutable) SK_OVERRIDE; |
81 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, | 83 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, |
82 const SkIRect* srcRectOrNull, | 84 const SkIRect* srcRectOrNull, |
83 const SkMatrix&, const SkPaint&) SK_OVERRIDE; | 85 const SkMatrix&, const SkPaint&) SK_OVERRIDE; |
84 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, | 86 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, |
85 const SkRect* srcOrNull, const SkRect& dst, | 87 const SkRect* srcOrNull, const SkRect& dst, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 | 187 |
186 /** | 188 /** |
187 * Returns non-initialized instance. | 189 * Returns non-initialized instance. |
188 */ | 190 */ |
189 GrTextContext* getTextContext(); | 191 GrTextContext* getTextContext(); |
190 | 192 |
191 typedef SkDevice INHERITED; | 193 typedef SkDevice INHERITED; |
192 }; | 194 }; |
193 | 195 |
194 #endif | 196 #endif |
OLD | NEW |