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