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

Side by Side Diff: include/utils/SkDumpCanvas.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/SkDeferredCanvas.h ('k') | include/utils/SkLuaCanvas.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 SkDumpCanvas_DEFINED 8 #ifndef SkDumpCanvas_DEFINED
9 #define SkDumpCanvas_DEFINED 9 #define SkDumpCanvas_DEFINED
10 10
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 virtual void drawData(const void*, size_t) SK_OVERRIDE; 109 virtual void drawData(const void*, size_t) SK_OVERRIDE;
110 virtual void beginCommentGroup(const char* description) SK_OVERRIDE; 110 virtual void beginCommentGroup(const char* description) SK_OVERRIDE;
111 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE; 111 virtual void addComment(const char* kywd, const char* value) SK_OVERRIDE;
112 virtual void endCommentGroup() SK_OVERRIDE; 112 virtual void endCommentGroup() SK_OVERRIDE;
113 113
114 protected: 114 protected:
115 virtual void willSave(SaveFlags) SK_OVERRIDE; 115 virtual void willSave(SaveFlags) SK_OVERRIDE;
116 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE; 116 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE;
117 virtual void willRestore() SK_OVERRIDE; 117 virtual void willRestore() SK_OVERRIDE;
118 118
119 virtual void didTranslate(SkScalar, SkScalar) SK_OVERRIDE;
120 virtual void didScale(SkScalar, SkScalar) SK_OVERRIDE;
121 virtual void didRotate(SkScalar) SK_OVERRIDE;
122 virtual void didSkew(SkScalar, SkScalar) SK_OVERRIDE;
123 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; 119 virtual void didConcat(const SkMatrix&) SK_OVERRIDE;
124 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; 120 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE;
125 121
126 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK _OVERRIDE; 122 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK _OVERRIDE;
127 virtual void onPushCull(const SkRect& cullRect) SK_OVERRIDE; 123 virtual void onPushCull(const SkRect& cullRect) SK_OVERRIDE;
128 virtual void onPopCull() SK_OVERRIDE; 124 virtual void onPopCull() SK_OVERRIDE;
129 125
130 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 126 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
131 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE; 127 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) SK_OVE RRIDE;
132 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE; 128 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) SK_OVERR IDE;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 public: 164 public:
169 SkDebugfDumper(); 165 SkDebugfDumper();
170 166
171 private: 167 private:
172 typedef SkFormatDumper INHERITED; 168 typedef SkFormatDumper INHERITED;
173 }; 169 };
174 170
175 #endif 171 #endif
176 172
177 #endif 173 #endif
OLDNEW
« no previous file with comments | « include/utils/SkDeferredCanvas.h ('k') | include/utils/SkLuaCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698