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

Side by Side Diff: src/utils/debugger/SkDebugCanvas.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 | « src/utils/android/SkAndroidSDKCanvas.cpp ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('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 2012 Google Inc. 3 * Copyright 2012 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 8
9 9
10 #ifndef SKDEBUGCANVAS_H_ 10 #ifndef SKDEBUGCANVAS_H_
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 const SkPaint&) override; 198 const SkPaint&) override;
199 void onDrawPath(const SkPath&, const SkPaint&) override; 199 void onDrawPath(const SkPath&, const SkPaint&) override;
200 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override; 200 void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, const SkPain t*) override;
201 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*, 201 void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRect& dst, const SkPaint*,
202 SrcRectConstraint) override; 202 SrcRectConstraint) override;
203 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override; 203 void onDrawImage(const SkImage*, SkScalar left, SkScalar top, const SkPaint* ) override;
204 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst, 204 void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect& dst,
205 const SkPaint*, SrcRectConstraint) override; 205 const SkPaint*, SrcRectConstraint) override;
206 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, 206 void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst,
207 const SkPaint*) override; 207 const SkPaint*) override;
208 void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint*) overri de;
208 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; 209 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override;
209 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; 210 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override;
210 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; 211 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override;
211 void onClipRegion(const SkRegion& region, SkRegion::Op) override; 212 void onClipRegion(const SkRegion& region, SkRegion::Op) override;
212 213
213 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de; 214 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de;
214 215
215 void markActiveCommands(int index); 216 void markActiveCommands(int index);
216 217
217 private: 218 private:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 void outputPoints(const SkPoint* pts, int count); 261 void outputPoints(const SkPoint* pts, int count);
261 void outputPointsCommon(const SkPoint* pts, int count); 262 void outputPointsCommon(const SkPoint* pts, int count);
262 void outputScalar(SkScalar num); 263 void outputScalar(SkScalar num);
263 264
264 void updatePaintFilterCanvas(); 265 void updatePaintFilterCanvas();
265 266
266 typedef SkCanvas INHERITED; 267 typedef SkCanvas INHERITED;
267 }; 268 };
268 269
269 #endif 270 #endif
OLDNEW
« no previous file with comments | « src/utils/android/SkAndroidSDKCanvas.cpp ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698