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

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

Issue 16638014: Expose debugger backend classes externally. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Relocated to src/utils/debugger/ Created 7 years, 6 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 | « gyp/tools.gyp ('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_
11 #define SKDEBUGCANVAS_H_ 11 #define SKDEBUGCANVAS_H_
12 12
13 #include "SkCanvas.h" 13 #include "SkCanvas.h"
14 #include "SkDrawCommand.h" 14 #include "SkDrawCommand.h"
15 #include "SkPicture.h" 15 #include "SkPicture.h"
16 #include "SkTArray.h" 16 #include "SkTArray.h"
17 #include "SkString.h" 17 #include "SkString.h"
18 18
19 class SkDebugCanvas : public SkCanvas { 19 class SK_API SkDebugCanvas : public SkCanvas {
20 public: 20 public:
21 SkDebugCanvas(int width, int height); 21 SkDebugCanvas(int width, int height);
22 virtual ~SkDebugCanvas(); 22 virtual ~SkDebugCanvas();
23 23
24 void toggleFilter(bool toggle); 24 void toggleFilter(bool toggle);
25 25
26 /** 26 /**
27 * Enable or disable overdraw visualization 27 * Enable or disable overdraw visualization
28 */ 28 */
29 void setOverdrawViz(bool overdrawViz) { fOverdrawViz = overdrawViz; } 29 void setOverdrawViz(bool overdrawViz) { fOverdrawViz = overdrawViz; }
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 /** 264 /**
265 Applies any panning and zooming the user has specified before 265 Applies any panning and zooming the user has specified before
266 drawing anything else into the canvas. 266 drawing anything else into the canvas.
267 */ 267 */
268 void applyUserTransform(SkCanvas* canvas); 268 void applyUserTransform(SkCanvas* canvas);
269 269
270 typedef SkCanvas INHERITED; 270 typedef SkCanvas INHERITED;
271 }; 271 };
272 272
273 #endif 273 #endif
OLDNEW
« no previous file with comments | « gyp/tools.gyp ('k') | src/utils/debugger/SkDebugCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698