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

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

Powered by Google App Engine
This is Rietveld 408576698