Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: include/utils/SkDumpCanvas.h

Issue 1529803004: Revert of remove drawSprite from canvas (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/private/SkRecords.h ('k') | include/utils/SkLuaCanvas.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « include/private/SkRecords.h ('k') | include/utils/SkLuaCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698