OLD | NEW |
| 1 /* |
| 2 * Copyright 2014 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 |
1 #ifndef SkRecorder_DEFINED | 8 #ifndef SkRecorder_DEFINED |
2 #define SkRecorder_DEFINED | 9 #define SkRecorder_DEFINED |
3 | 10 |
4 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
5 #include "SkRecord.h" | 12 #include "SkRecord.h" |
6 #include "SkRecords.h" | 13 #include "SkRecords.h" |
7 | 14 |
8 // SkRecorder provides an SkCanvas interface for recording into an SkRecord. | 15 // SkRecorder provides an SkCanvas interface for recording into an SkRecord. |
9 | 16 |
10 class SkRecorder : public SkCanvas { | 17 class SkRecorder : public SkCanvas { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 T* copy(const T*); | 109 T* copy(const T*); |
103 | 110 |
104 template <typename T> | 111 template <typename T> |
105 T* copy(const T[], unsigned count); | 112 T* copy(const T[], unsigned count); |
106 | 113 |
107 const Mode fMode; | 114 const Mode fMode; |
108 SkRecord* fRecord; | 115 SkRecord* fRecord; |
109 }; | 116 }; |
110 | 117 |
111 #endif//SkRecorder_DEFINED | 118 #endif//SkRecorder_DEFINED |
OLD | NEW |