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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 const SkPaint& paint) override; | 95 const SkPaint& paint) override; |
96 | 96 |
97 void onDrawPaint(const SkPaint&) override; | 97 void onDrawPaint(const SkPaint&) override; |
98 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; | 98 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPain
t&) override; |
99 void onDrawRect(const SkRect&, const SkPaint&) override; | 99 void onDrawRect(const SkRect&, const SkPaint&) override; |
100 void onDrawOval(const SkRect&, const SkPaint&) override; | 100 void onDrawOval(const SkRect&, const SkPaint&) override; |
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 DrawBitmapRectFlags flags) override; | 105 SK_VIRTUAL_CONSTRAINT_TYPE) 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*) override; | 108 const SkPaint* SRC_RECT_CONSTRAINT_PARAM(constraint)) o
verride; |
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 onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri
de; |
112 void onDrawVertices(VertexMode vmode, int vertexCount, | 112 void onDrawVertices(VertexMode vmode, int vertexCount, |
113 const SkPoint vertices[], const SkPoint texs[], | 113 const SkPoint vertices[], const SkPoint texs[], |
114 const SkColor colors[], SkXfermode* xmode, | 114 const SkColor colors[], SkXfermode* xmode, |
115 const uint16_t indices[], int indexCount, | 115 const uint16_t indices[], int indexCount, |
116 const SkPaint&) override; | 116 const SkPaint&) override; |
117 | 117 |
118 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; | 118 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 public: | 158 public: |
159 SkDebugfDumper(); | 159 SkDebugfDumper(); |
160 | 160 |
161 private: | 161 private: |
162 typedef SkFormatDumper INHERITED; | 162 typedef SkFormatDumper INHERITED; |
163 }; | 163 }; |
164 | 164 |
165 #endif | 165 #endif |
166 | 166 |
167 #endif | 167 #endif |
OLD | NEW |