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

Side by Side Diff: include/utils/SkProxyCanvas.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 | « include/utils/SkNWayCanvas.h ('k') | src/core/SkBBoxHierarchyRecord.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 SkProxyCanvas_DEFINED 8 #ifndef SkProxyCanvas_DEFINED
9 #define SkProxyCanvas_DEFINED 9 #define SkProxyCanvas_DEFINED
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual void endCommentGroup() SK_OVERRIDE; 65 virtual void endCommentGroup() SK_OVERRIDE;
66 66
67 virtual SkBounder* setBounder(SkBounder* bounder) SK_OVERRIDE; 67 virtual SkBounder* setBounder(SkBounder* bounder) SK_OVERRIDE;
68 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE; 68 virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter) SK_OVERRIDE;
69 69
70 protected: 70 protected:
71 virtual void willSave(SaveFlags) SK_OVERRIDE; 71 virtual void willSave(SaveFlags) SK_OVERRIDE;
72 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE; 72 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE;
73 virtual void willRestore() SK_OVERRIDE; 73 virtual void willRestore() SK_OVERRIDE;
74 74
75 virtual void didTranslate(SkScalar, SkScalar) SK_OVERRIDE;
76 virtual void didScale(SkScalar, SkScalar) SK_OVERRIDE;
77 virtual void didRotate(SkScalar) SK_OVERRIDE;
78 virtual void didSkew(SkScalar, SkScalar) SK_OVERRIDE;
79 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; 75 virtual void didConcat(const SkMatrix&) SK_OVERRIDE;
80 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; 76 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE;
81 77
82 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK _OVERRIDE; 78 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK _OVERRIDE;
83 79
84 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 80 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
85 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE; 81 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE;
86 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 82 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
87 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE; 83 virtual void onClipRegion(const SkRegion&, SkRegion::Op) SK_OVERRIDE;
88 84
89 private: 85 private:
90 SkCanvas* fProxy; 86 SkCanvas* fProxy;
91 87
92 typedef SkCanvas INHERITED; 88 typedef SkCanvas INHERITED;
93 }; 89 };
94 90
95 #endif 91 #endif
OLDNEW
« no previous file with comments | « include/utils/SkNWayCanvas.h ('k') | src/core/SkBBoxHierarchyRecord.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698