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

Side by Side Diff: src/utils/debugger/SkDebugCanvas.h

Issue 1530203002: Reland of move 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;
209 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override; 208 void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override;
210 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override; 209 void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) override;
211 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override; 210 void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override;
212 void onClipRegion(const SkRegion& region, SkRegion::Op) override; 211 void onClipRegion(const SkRegion& region, SkRegion::Op) override;
213 212
214 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de; 213 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri de;
215 214
216 void markActiveCommands(int index); 215 void markActiveCommands(int index);
217 216
218 private: 217 private:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 void outputPoints(const SkPoint* pts, int count); 260 void outputPoints(const SkPoint* pts, int count);
262 void outputPointsCommon(const SkPoint* pts, int count); 261 void outputPointsCommon(const SkPoint* pts, int count);
263 void outputScalar(SkScalar num); 262 void outputScalar(SkScalar num);
264 263
265 void updatePaintFilterCanvas(); 264 void updatePaintFilterCanvas();
266 265
267 typedef SkCanvas INHERITED; 266 typedef SkCanvas INHERITED;
268 }; 267 };
269 268
270 #endif 269 #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