| OLD | NEW |
| 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 | 8 |
| 9 #ifndef SkNWayCanvas_DEFINED | 9 #ifndef SkNWayCanvas_DEFINED |
| 10 #define SkNWayCanvas_DEFINED | 10 #define SkNWayCanvas_DEFINED |
| 11 | 11 |
| 12 #include "SkCanvas.h" | 12 #include "SkCanvas.h" |
| 13 #include "SkTDArray.h" |
| 13 | 14 |
| 14 class SK_API SkNWayCanvas : public SkCanvas { | 15 class SK_API SkNWayCanvas : public SkCanvas { |
| 15 public: | 16 public: |
| 16 SkNWayCanvas(int width, int height); | 17 SkNWayCanvas(int width, int height); |
| 17 virtual ~SkNWayCanvas(); | 18 virtual ~SkNWayCanvas(); |
| 18 | 19 |
| 19 virtual void addCanvas(SkCanvas*); | 20 virtual void addCanvas(SkCanvas*); |
| 20 virtual void removeCanvas(SkCanvas*); | 21 virtual void removeCanvas(SkCanvas*); |
| 21 virtual void removeAll(); | 22 virtual void removeAll(); |
| 22 | 23 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; | 80 void onDrawPicture(const SkPicture*, const SkMatrix*, const SkPaint*) overri
de; |
| 80 | 81 |
| 81 class Iter; | 82 class Iter; |
| 82 | 83 |
| 83 private: | 84 private: |
| 84 typedef SkCanvas INHERITED; | 85 typedef SkCanvas INHERITED; |
| 85 }; | 86 }; |
| 86 | 87 |
| 87 | 88 |
| 88 #endif | 89 #endif |
| OLD | NEW |