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