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