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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 const SkPaint& paint) SK_OVERRIDE; | 80 const SkPaint& paint) SK_OVERRIDE; |
81 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; | 81 virtual void drawOval(const SkRect&, const SkPaint& paint) SK_OVERRIDE; |
82 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; | 82 virtual void drawRect(const SkRect&, const SkPaint& paint) SK_OVERRIDE; |
83 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; | 83 virtual void drawRRect(const SkRRect&, const SkPaint& paint) SK_OVERRIDE; |
84 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; | 84 virtual void drawPath(const SkPath& path, const SkPaint& paint) SK_OVERRIDE; |
85 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, | 85 virtual void drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, |
86 const SkPaint* paint) SK_OVERRIDE; | 86 const SkPaint* paint) SK_OVERRIDE; |
87 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, | 87 virtual void drawBitmapRectToRect(const SkBitmap& bitmap, const SkRect* src, |
88 const SkRect& dst, const SkPaint* paint, | 88 const SkRect& dst, const SkPaint* paint, |
89 DrawBitmapRectFlags flags) SK_OVERRIDE; | 89 DrawBitmapRectFlags flags) SK_OVERRIDE; |
90 virtual void drawBitmapMatrix(const SkBitmap& bitmap, const SkMatrix& m, | |
91 const SkPaint* paint) SK_OVERRIDE; | |
92 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, | 90 virtual void drawSprite(const SkBitmap& bitmap, int left, int top, |
93 const SkPaint* paint) SK_OVERRIDE; | 91 const SkPaint* paint) SK_OVERRIDE; |
94 virtual void drawVertices(VertexMode vmode, int vertexCount, | 92 virtual void drawVertices(VertexMode vmode, int vertexCount, |
95 const SkPoint vertices[], const SkPoint texs[], | 93 const SkPoint vertices[], const SkPoint texs[], |
96 const SkColor colors[], SkXfermode* xmode, | 94 const SkColor colors[], SkXfermode* xmode, |
97 const uint16_t indices[], int indexCount, | 95 const uint16_t indices[], int indexCount, |
98 const SkPaint& paint) SK_OVERRIDE; | 96 const SkPaint& paint) SK_OVERRIDE; |
99 virtual void drawData(const void*, size_t) SK_OVERRIDE; | 97 virtual void drawData(const void*, size_t) SK_OVERRIDE; |
100 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; | 98 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; |
101 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; | 99 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 public: | 167 public: |
170 SkDebugfDumper(); | 168 SkDebugfDumper(); |
171 | 169 |
172 private: | 170 private: |
173 typedef SkFormatDumper INHERITED; | 171 typedef SkFormatDumper INHERITED; |
174 }; | 172 }; |
175 | 173 |
176 #endif | 174 #endif |
177 | 175 |
178 #endif | 176 #endif |
OLD | NEW |