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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 void onDrawRRect(const SkRRect&, const SkPaint&) override; | 101 void onDrawRRect(const SkRRect&, const SkPaint&) override; |
102 void onDrawPath(const SkPath&, const SkPaint&) override; | 102 void onDrawPath(const SkPath&, const SkPaint&) override; |
103 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; | 103 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain
t*) override; |
104 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, | 104 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst,
const SkPaint*, |
105 SrcRectConstraint) override; | 105 SrcRectConstraint) override; |
106 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; | 106 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint*
) override; |
107 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, | 107 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, |
108 const SkPaint*, SrcRectConstraint) override; | 108 const SkPaint*, SrcRectConstraint) override; |
109 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, | 109 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect&
dst, |
110 const SkPaint*) override; | 110 const SkPaint*) override; |
| 111 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; |
111 void onDrawVertices(VertexMode vmode, int vertexCount, | 112 void onDrawVertices(VertexMode vmode, int vertexCount, |
112 const SkPoint vertices[], const SkPoint texs[], | 113 const SkPoint vertices[], const SkPoint texs[], |
113 const SkColor colors[], SkXfermode* xmode, | 114 const SkColor colors[], SkXfermode* xmode, |
114 const uint16_t indices[], int indexCount, | 115 const uint16_t indices[], int indexCount, |
115 const SkPaint&) override; | 116 const SkPaint&) override; |
116 | 117 |
117 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 118 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
118 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 119 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
119 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 120 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
120 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 121 void onClipRegion(const SkRegion&, SkRegion::Op) override; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 public: | 158 public: |
158 SkDebugfDumper(); | 159 SkDebugfDumper(); |
159 | 160 |
160 private: | 161 private: |
161 typedef SkFormatDumper INHERITED; | 162 typedef SkFormatDumper INHERITED; |
162 }; | 163 }; |
163 | 164 |
164 #endif | 165 #endif |
165 | 166 |
166 #endif | 167 #endif |
OLD | NEW |