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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, | 76 virtual void drawRRect(const SkDraw&, const SkRRect& r, |
77 const SkPaint& paint) SK_OVERRIDE; | 77 const SkPaint& paint) SK_OVERRIDE; |
78 virtual void drawOval(const SkDraw&, const SkRect& oval, | 78 virtual void drawOval(const SkDraw&, const SkRect& oval, |
79 const SkPaint& paint) SK_OVERRIDE; | 79 const SkPaint& paint) SK_OVERRIDE; |
80 virtual void drawPath(const SkDraw&, const SkPath& path, | 80 virtual void drawPath(const SkDraw&, const SkPath& path, |
81 const SkPaint& paint, const SkMatrix* prePathMatrix, | 81 const SkPaint& paint, const SkMatrix* prePathMatrix, |
82 bool pathIsMutable) SK_OVERRIDE; | 82 bool pathIsMutable) SK_OVERRIDE; |
83 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, | 83 virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, |
84 const SkIRect* srcRectOrNull, | |
85 const SkMatrix&, const SkPaint&) SK_OVERRIDE; | 84 const SkMatrix&, const SkPaint&) SK_OVERRIDE; |
86 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, | 85 virtual void drawBitmapRect(const SkDraw&, const SkBitmap&, |
87 const SkRect* srcOrNull, const SkRect& dst, | 86 const SkRect* srcOrNull, const SkRect& dst, |
88 const SkPaint& paint) SK_OVERRIDE; | 87 const SkPaint& paint) SK_OVERRIDE; |
89 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, | 88 virtual void drawSprite(const SkDraw&, const SkBitmap& bitmap, |
90 int x, int y, const SkPaint& paint); | 89 int x, int y, const SkPaint& paint); |
91 virtual void drawText(const SkDraw&, const void* text, size_t len, | 90 virtual void drawText(const SkDraw&, const void* text, size_t len, |
92 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; | 91 SkScalar x, SkScalar y, const SkPaint&) SK_OVERRIDE; |
93 virtual void drawPosText(const SkDraw&, const void* text, size_t len, | 92 virtual void drawPosText(const SkDraw&, const void* text, size_t len, |
94 const SkScalar pos[], SkScalar constY, | 93 const SkScalar pos[], SkScalar constY, |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 185 |
187 /** | 186 /** |
188 * Returns non-initialized instance. | 187 * Returns non-initialized instance. |
189 */ | 188 */ |
190 GrTextContext* getTextContext(); | 189 GrTextContext* getTextContext(); |
191 | 190 |
192 typedef SkDevice INHERITED; | 191 typedef SkDevice INHERITED; |
193 }; | 192 }; |
194 | 193 |
195 #endif | 194 #endif |
OLD | NEW |