OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright 2015 Google Inc. | |
3 * | |
4 * Use of this source code is governed by a BSD-style license that can be | |
5 * found in the LICENSE file. | |
6 * | |
7 */ | |
8 | |
9 #ifndef VisualModule_DEFINED | |
10 #define VisualModule_DEFINED | |
11 | |
12 #include "SkRefCnt.h" | |
13 | |
14 class SkCanvas; | |
robertphillips
2015/09/08 12:38:05
Do we need SkSurface ?
| |
15 class SkSurface; | |
16 | |
robertphillips
2015/09/08 12:38:05
// This guy exists for some reason ...
?
| |
17 class VisualModule : public SkRefCnt { | |
18 public: | |
19 virtual ~VisualModule() {} | |
20 | |
21 virtual void draw(SkCanvas* canvas)=0; | |
robertphillips
2015/09/08 12:38:05
private:
typedef SkRefCnt INHERITED;
?
| |
22 }; | |
23 | |
24 #endif | |
OLD | NEW |