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

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

Issue 783493002: Change clear() to respect the clip (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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/SkPictureUtils.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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 fUserMatrix = matrix; 151 fUserMatrix = matrix;
152 fDrawNeedsReset = true; 152 fDrawNeedsReset = true;
153 } 153 }
154 154
155 SkString clipStackData() const { return fClipStackData; } 155 SkString clipStackData() const { return fClipStackData; }
156 156
157 //////////////////////////////////////////////////////////////////////////////// 157 ////////////////////////////////////////////////////////////////////////////////
158 // Inherited from SkCanvas 158 // Inherited from SkCanvas
159 //////////////////////////////////////////////////////////////////////////////// 159 ////////////////////////////////////////////////////////////////////////////////
160 160
161 virtual void clear(SkColor) SK_OVERRIDE;
162
163 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top, 161 virtual void drawBitmap(const SkBitmap&, SkScalar left, SkScalar top,
164 const SkPaint*) SK_OVERRIDE; 162 const SkPaint*) SK_OVERRIDE;
165 163
166 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src, 164 virtual void drawBitmapRectToRect(const SkBitmap&, const SkRect* src,
167 const SkRect& dst, const SkPaint* paint, 165 const SkRect& dst, const SkPaint* paint,
168 DrawBitmapRectFlags flags) SK_OVERRIDE; 166 DrawBitmapRectFlags flags) SK_OVERRIDE;
169 167
170 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&, 168 virtual void drawBitmapMatrix(const SkBitmap&, const SkMatrix&,
171 const SkPaint*) SK_OVERRIDE; 169 const SkPaint*) SK_OVERRIDE;
172 170
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 bool lastClipStackData(const SkPath& devPath); 322 bool lastClipStackData(const SkPath& devPath);
325 void outputConicPoints(const SkPoint* pts, SkScalar weight); 323 void outputConicPoints(const SkPoint* pts, SkScalar weight);
326 void outputPoints(const SkPoint* pts, int count); 324 void outputPoints(const SkPoint* pts, int count);
327 void outputPointsCommon(const SkPoint* pts, int count); 325 void outputPointsCommon(const SkPoint* pts, int count);
328 void outputScalar(SkScalar num); 326 void outputScalar(SkScalar num);
329 327
330 typedef SkCanvas INHERITED; 328 typedef SkCanvas INHERITED;
331 }; 329 };
332 330
333 #endif 331 #endif
OLDNEW
« no previous file with comments | « src/utils/SkPictureUtils.cpp ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698