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; | |
112 void onDrawVertices(VertexMode vmode, int vertexCount, | 111 void onDrawVertices(VertexMode vmode, int vertexCount, |
113 const SkPoint vertices[], const SkPoint texs[], | 112 const SkPoint vertices[], const SkPoint texs[], |
114 const SkColor colors[], SkXfermode* xmode, | 113 const SkColor colors[], SkXfermode* xmode, |
115 const uint16_t indices[], int indexCount, | 114 const uint16_t indices[], int indexCount, |
116 const SkPaint&) override; | 115 const SkPaint&) override; |
117 | 116 |
118 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 117 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
119 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; | 118 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; |
120 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; | 119 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; |
121 void onClipRegion(const SkRegion&, SkRegion::Op) override; | 120 void onClipRegion(const SkRegion&, SkRegion::Op) override; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 public: | 157 public: |
159 SkDebugfDumper(); | 158 SkDebugfDumper(); |
160 | 159 |
161 private: | 160 private: |
162 typedef SkFormatDumper INHERITED; | 161 typedef SkFormatDumper INHERITED; |
163 }; | 162 }; |
164 | 163 |
165 #endif | 164 #endif |
166 | 165 |
167 #endif | 166 #endif |
OLD | NEW |