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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 virtual bool clipRect(const SkRect&, SkRegion::Op, bool) SK_OVERRIDE; | 86 virtual bool clipRect(const SkRect&, SkRegion::Op, bool) SK_OVERRIDE; |
87 virtual bool clipRRect(const SkRRect&, SkRegion::Op, bool) SK_OVERRIDE; | 87 virtual bool clipRRect(const SkRRect&, SkRegion::Op, bool) SK_OVERRIDE; |
88 virtual bool clipPath(const SkPath&, SkRegion::Op, bool) SK_OVERRIDE; | 88 virtual bool clipPath(const SkPath&, SkRegion::Op, bool) SK_OVERRIDE; |
89 virtual bool clipRegion(const SkRegion& deviceRgn, | 89 virtual bool clipRegion(const SkRegion& deviceRgn, |
90 SkRegion::Op) SK_OVERRIDE; | 90 SkRegion::Op) SK_OVERRIDE; |
91 | 91 |
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 onDrawRect(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 onDrawPath(const SkPath& path, const SkPaint& paint) SK_OVERRID
E; |
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, | 102 const SkRect& dst, const SkPaint* paint, |
103 DrawBitmapRectFlags flags) SK_OVERRIDE; | 103 DrawBitmapRectFlags flags) SK_OVERRIDE; |
104 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, | 104 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, |
105 const SkPaint* paint) SK_OVERRIDE; | 105 const SkPaint* paint) SK_OVERRIDE; |
106 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, | 106 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
107 const SkPaint* paint) SK_OVERRIDE; | 107 const SkPaint* paint) SK_OVERRIDE; |
108 virtual void drawText(const void* text, size_t byteLength, SkScalar x, | 108 virtual void drawText(const void* text, size_t byteLength, SkScalar x, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 public: | 160 public: |
161 SkDebugfDumper(); | 161 SkDebugfDumper(); |
162 | 162 |
163 private: | 163 private: |
164 typedef SkFormatDumper INHERITED; | 164 typedef SkFormatDumper INHERITED; |
165 }; | 165 }; |
166 | 166 |
167 #endif | 167 #endif |
168 | 168 |
169 #endif | 169 #endif |
OLD | NEW |