OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef SkRecording_DEFINED | 8 #ifndef SkRecording_DEFINED |
9 #define SkRecording_DEFINED | 9 #define SkRecording_DEFINED |
10 | 10 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 // Draws issued to this canvas will be replayed by SkPlayback::draw(). | 60 // Draws issued to this canvas will be replayed by SkPlayback::draw(). |
61 // This pointer is owned by the SkRecording; the caller must not take owners
hip. | 61 // This pointer is owned by the SkRecording; the caller must not take owners
hip. |
62 SkCanvas* canvas(); | 62 SkCanvas* canvas(); |
63 | 63 |
64 private: | 64 private: |
65 SkRecording(int width, int height); | 65 SkRecording(int width, int height); |
66 ~SkRecording(); | 66 ~SkRecording(); |
67 | 67 |
68 SkRecorder* fRecorder; | 68 SkRecorder* fRecorder; |
69 const SkRecord* fRecord; | 69 SkRecord* fRecord; |
70 }; | 70 }; |
71 | 71 |
72 } // namespace EXPERIMENTAL | 72 } // namespace EXPERIMENTAL |
73 | 73 |
74 #endif//SkRecording_DEFINED | 74 #endif//SkRecording_DEFINED |
OLD | NEW |