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

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

Issue 203203004: Consolidate SkCanvas matrix virtuals. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Updated per review. Created 6 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « src/utils/SkProxyCanvas.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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 bounds->setLargest(); 227 bounds->setLargest();
228 } 228 }
229 return true; 229 return true;
230 } 230 }
231 231
232 protected: 232 protected:
233 virtual void willSave(SaveFlags) SK_OVERRIDE; 233 virtual void willSave(SaveFlags) SK_OVERRIDE;
234 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE; 234 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE;
235 virtual void willRestore() SK_OVERRIDE; 235 virtual void willRestore() SK_OVERRIDE;
236 236
237 virtual void didTranslate(SkScalar, SkScalar) SK_OVERRIDE;
238 virtual void didScale(SkScalar, SkScalar) SK_OVERRIDE;
239 virtual void didRotate(SkScalar) SK_OVERRIDE;
240 virtual void didSkew(SkScalar, SkScalar) SK_OVERRIDE;
241 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; 237 virtual void didConcat(const SkMatrix&) SK_OVERRIDE;
242 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; 238 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE;
243 239
244 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK _OVERRIDE; 240 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK _OVERRIDE;
245 virtual void onPushCull(const SkRect& cullRect) SK_OVERRIDE; 241 virtual void onPushCull(const SkRect& cullRect) SK_OVERRIDE;
246 virtual void onPopCull() SK_OVERRIDE; 242 virtual void onPopCull() SK_OVERRIDE;
247 243
248 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 244 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
249 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE; 245 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE;
250 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 246 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 /** 294 /**
299 Applies any panning and zooming the user has specified before 295 Applies any panning and zooming the user has specified before
300 drawing anything else into the canvas. 296 drawing anything else into the canvas.
301 */ 297 */
302 void applyUserTransform(SkCanvas* canvas); 298 void applyUserTransform(SkCanvas* canvas);
303 299
304 typedef SkCanvas INHERITED; 300 typedef SkCanvas INHERITED;
305 }; 301 };
306 302
307 #endif 303 #endif
OLDNEW
« no previous file with comments | « src/utils/SkProxyCanvas.cpp ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698