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

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

Issue 340403003: SaveFlags be-gone (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: One more baseurl attempt Created 6 years, 5 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
« 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 return true; 224 return true;
225 } 225 }
226 virtual bool getClipDeviceBounds(SkIRect* bounds) const SK_OVERRIDE { 226 virtual bool getClipDeviceBounds(SkIRect* bounds) const SK_OVERRIDE {
227 if (NULL != bounds) { 227 if (NULL != bounds) {
228 bounds->setLargest(); 228 bounds->setLargest();
229 } 229 }
230 return true; 230 return true;
231 } 231 }
232 232
233 protected: 233 protected:
234 virtual void willSave(SaveFlags) SK_OVERRIDE; 234 virtual void willSave() SK_OVERRIDE;
235 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE; 235 virtual SaveLayerStrategy willSaveLayer(const SkRect*, const SkPaint*, SaveF lags) SK_OVERRIDE;
236 virtual void willRestore() SK_OVERRIDE; 236 virtual void willRestore() SK_OVERRIDE;
237 237
238 virtual void didConcat(const SkMatrix&) SK_OVERRIDE; 238 virtual void didConcat(const SkMatrix&) SK_OVERRIDE;
239 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE; 239 virtual void didSetMatrix(const SkMatrix&) SK_OVERRIDE;
240 240
241 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK _OVERRIDE; 241 virtual void onDrawDRRect(const SkRRect&, const SkRRect&, const SkPaint&) SK _OVERRIDE;
242 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y, 242 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y,
243 const SkPaint&) SK_OVERRIDE; 243 const SkPaint&) SK_OVERRIDE;
244 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[], 244 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[],
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 bool lastClipStackData(const SkPath& devPath); 327 bool lastClipStackData(const SkPath& devPath);
328 void outputConicPoints(const SkPoint* pts, SkScalar weight); 328 void outputConicPoints(const SkPoint* pts, SkScalar weight);
329 void outputPoints(const SkPoint* pts, int count); 329 void outputPoints(const SkPoint* pts, int count);
330 void outputPointsCommon(const SkPoint* pts, int count); 330 void outputPointsCommon(const SkPoint* pts, int count);
331 void outputScalar(SkScalar num); 331 void outputScalar(SkScalar num);
332 332
333 typedef SkCanvas INHERITED; 333 typedef SkCanvas INHERITED;
334 }; 334 };
335 335
336 #endif 336 #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