OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 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 | 9 |
10 #ifndef SKDEBUGCANVAS_H_ | 10 #ifndef SKDEBUGCANVAS_H_ |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 SkTDArray<SkString*>* getCommandInfo(int index); | 102 SkTDArray<SkString*>* getCommandInfo(int index); |
103 | 103 |
104 /** | 104 /** |
105 Returns the visibility of the command at the given index. | 105 Returns the visibility of the command at the given index. |
106 @param index The index of the command | 106 @param index The index of the command |
107 */ | 107 */ |
108 bool getDrawCommandVisibilityAt(int index); | 108 bool getDrawCommandVisibilityAt(int index); |
109 | 109 |
110 /** | 110 /** |
111 Returns the vector of draw commands | 111 Returns the vector of draw commands |
112 DEPRECATED: please use getDrawCommandAt and getSize instead | |
113 */ | 112 */ |
| 113 SK_ATTR_DEPRECATED("please use getDrawCommandAt and getSize instead") |
114 const SkTDArray<SkDrawCommand*>& getDrawCommands() const; | 114 const SkTDArray<SkDrawCommand*>& getDrawCommands() const; |
115 | 115 |
116 /** | 116 /** |
117 Returns the vector of draw commands. Do not use this entry | 117 Returns the vector of draw commands. Do not use this entry |
118 point - it is going away! | 118 point - it is going away! |
119 */ | 119 */ |
120 SkTDArray<SkDrawCommand*>& getDrawCommands(); | 120 SkTDArray<SkDrawCommand*>& getDrawCommands(); |
121 | 121 |
122 /** | 122 /** |
123 * Returns the string vector of draw commands | 123 * Returns the string vector of draw commands |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 /** | 276 /** |
277 Applies any panning and zooming the user has specified before | 277 Applies any panning and zooming the user has specified before |
278 drawing anything else into the canvas. | 278 drawing anything else into the canvas. |
279 */ | 279 */ |
280 void applyUserTransform(SkCanvas* canvas); | 280 void applyUserTransform(SkCanvas* canvas); |
281 | 281 |
282 typedef SkCanvas INHERITED; | 282 typedef SkCanvas INHERITED; |
283 }; | 283 }; |
284 | 284 |
285 #endif | 285 #endif |
OLD | NEW |