| 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 | 13 |
| 14 class SkNWayCanvas : public SkCanvas { | 14 class SK_API SkNWayCanvas : public SkCanvas { |
| 15 public: | 15 public: |
| 16 SkNWayCanvas(int width, int height); | 16 SkNWayCanvas(int width, int height); |
| 17 virtual ~SkNWayCanvas(); | 17 virtual ~SkNWayCanvas(); |
| 18 | 18 |
| 19 void addCanvas(SkCanvas*); | 19 void addCanvas(SkCanvas*); |
| 20 void removeCanvas(SkCanvas*); | 20 void removeCanvas(SkCanvas*); |
| 21 void removeAll(); | 21 void removeAll(); |
| 22 | 22 |
| 23 /////////////////////////////////////////////////////////////////////////// | 23 /////////////////////////////////////////////////////////////////////////// |
| 24 // These are forwarded to the N canvases we're referencing | 24 // These are forwarded to the N canvases we're referencing |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 private: | 77 private: |
| 78 SkTDArray<SkCanvas*> fList; | 78 SkTDArray<SkCanvas*> fList; |
| 79 | 79 |
| 80 class Iter; | 80 class Iter; |
| 81 | 81 |
| 82 typedef SkCanvas INHERITED; | 82 typedef SkCanvas INHERITED; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 | 85 |
| 86 #endif | 86 #endif |
| OLD | NEW |