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

Side by Side Diff: include/utils/SkDumpCanvas.h

Issue 1533953002: change signature for virtual related to saveLayer, passing SaveLayerRec (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update comment Created 5 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 | « include/private/SkRecords.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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 typedef SkRefCnt INHERITED; 66 typedef SkRefCnt INHERITED;
67 }; 67 };
68 68
69 Dumper* getDumper() const { return fDumper; } 69 Dumper* getDumper() const { return fDumper; }
70 void setDumper(Dumper*); 70 void setDumper(Dumper*);
71 71
72 int getNestLevel() const { return fNestLevel; } 72 int getNestLevel() const { return fNestLevel; }
73 73
74 protected: 74 protected:
75 void willSave() override; 75 void willSave() override;
76 SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveFlags) ov erride; 76 SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec&) override;
77 void willRestore() override; 77 void willRestore() override;
78 78
79 void didConcat(const SkMatrix&) override; 79 void didConcat(const SkMatrix&) override;
80 void didSetMatrix(const SkMatrix&) override; 80 void didSetMatrix(const SkMatrix&) override;
81 81
82 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override; 82 void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) override;
83 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y, 83 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y,
84 const SkPaint&) override; 84 const SkPaint&) override;
85 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[], 85 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[],
86 const SkPaint&) override; 86 const SkPaint&) override;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 public: 157 public:
158 SkDebugfDumper(); 158 SkDebugfDumper();
159 159
160 private: 160 private:
161 typedef SkFormatDumper INHERITED; 161 typedef SkFormatDumper INHERITED;
162 }; 162 };
163 163
164 #endif 164 #endif
165 165
166 #endif 166 #endif
OLDNEW
« no previous file with comments | « include/private/SkRecords.h ('k') | include/utils/SkLuaCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698