OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 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 #ifndef SkDumpCanvas_DEFINED | 8 #ifndef SkDumpCanvas_DEFINED |
9 #define SkDumpCanvas_DEFINED | 9 #define SkDumpCanvas_DEFINED |
10 | 10 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; | 92 virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; |
93 virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[], | 93 virtual void drawPoints(PointMode mode, size_t count, const SkPoint pts[], |
94 const SkPaint& paint) SK_OVERRIDE; | 94 const SkPaint& paint) SK_OVERRIDE; |
95 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; | 95 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; |
96 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; | 96 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; |
97 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; | 97 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; |
98 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; | 98 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; |
99 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, | 99 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, |
100 const SkPaint* paint) SK_OVERRIDE; | 100 const SkPaint* paint) SK_OVERRIDE; |
101 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, | 101 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, |
102 const SkRect& dst, const SkPaint* paint) SK_OVER
RIDE; | 102 const SkRect& dst, const SkPaint* paint, |
| 103 DrawBitmapRectFlags flags) SK_OVERRIDE; |
103 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, | 104 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, |
104 const SkPaint* paint) SK_OVERRIDE; | 105 const SkPaint* paint) SK_OVERRIDE; |
105 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, | 106 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
106 const SkPaint* paint) SK_OVERRIDE; | 107 const SkPaint* paint) SK_OVERRIDE; |
107 virtual void drawText(const void* text, size_t byteLength, SkScalar x, | 108 virtual void drawText(const void* text, size_t byteLength, SkScalar x, |
108 SkScalar y, const SkPaint& paint) SK_OVERRIDE; | 109 SkScalar y, const SkPaint& paint) SK_OVERRIDE; |
109 virtual void drawPosText(const void* text, size_t byteLength, | 110 virtual void drawPosText(const void* text, size_t byteLength, |
110 const SkPoint pos[], const SkPaint& paint) SK_OVERR
IDE; | 111 const SkPoint pos[], const SkPaint& paint) SK_OVERR
IDE; |
111 virtual void drawPosTextH(const void* text, size_t byteLength, | 112 virtual void drawPosTextH(const void* text, size_t byteLength, |
112 const SkScalar xpos[], SkScalar constY, | 113 const SkScalar xpos[], SkScalar constY, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 public: | 160 public: |
160 SkDebugfDumper(); | 161 SkDebugfDumper(); |
161 | 162 |
162 private: | 163 private: |
163 typedef SkFormatDumper INHERITED; | 164 typedef SkFormatDumper INHERITED; |
164 }; | 165 }; |
165 | 166 |
166 #endif | 167 #endif |
167 | 168 |
168 #endif | 169 #endif |
OLD | NEW |