OLD | NEW |
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 "SkPath.h" | |
16 #include "SkPathOps.h" | 15 #include "SkPathOps.h" |
17 #include "SkPicture.h" | 16 #include "SkPicture.h" |
| 17 #include "SkTArray.h" |
18 #include "SkString.h" | 18 #include "SkString.h" |
19 #include "SkTArray.h" | |
20 | 19 |
21 class SkNWayCanvas; | 20 class SkNWayCanvas; |
22 | 21 |
23 class SK_API SkDebugCanvas : public SkCanvas { | 22 class SK_API SkDebugCanvas : public SkCanvas { |
24 public: | 23 public: |
25 SkDebugCanvas(int width, int height); | 24 SkDebugCanvas(int width, int height); |
26 virtual ~SkDebugCanvas(); | 25 virtual ~SkDebugCanvas(); |
27 | 26 |
28 void toggleFilter(bool toggle) { fFilter = toggle; } | 27 void toggleFilter(bool toggle) { fFilter = toggle; } |
29 | 28 |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 void outputPoints(const SkPoint* pts, int count); | 260 void outputPoints(const SkPoint* pts, int count); |
262 void outputPointsCommon(const SkPoint* pts, int count); | 261 void outputPointsCommon(const SkPoint* pts, int count); |
263 void outputScalar(SkScalar num); | 262 void outputScalar(SkScalar num); |
264 | 263 |
265 void updatePaintFilterCanvas(); | 264 void updatePaintFilterCanvas(); |
266 | 265 |
267 typedef SkCanvas INHERITED; | 266 typedef SkCanvas INHERITED; |
268 }; | 267 }; |
269 | 268 |
270 #endif | 269 #endif |
OLD | NEW |