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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 Sets the draw command for a given index. | 95 Sets the draw command for a given index. |
96 @param index The index to overwrite | 96 @param index The index to overwrite |
97 @param command The new command | 97 @param command The new command |
98 */ | 98 */ |
99 void setDrawCommandAt(int index, SkDrawCommand* command); | 99 void setDrawCommandAt(int index, SkDrawCommand* command); |
100 | 100 |
101 /** | 101 /** |
102 Returns information about the command at the given index. | 102 Returns information about the command at the given index. |
103 @param index The index of the command | 103 @param index The index of the command |
104 */ | 104 */ |
105 SkTDArray<SkString*>* getCommandInfo(int index); | 105 const SkTDArray<SkString*>* getCommandInfo(int index) const; |
106 | 106 |
107 /** | 107 /** |
108 Returns the visibility of the command at the given index. | 108 Returns the visibility of the command at the given index. |
109 @param index The index of the command | 109 @param index The index of the command |
110 */ | 110 */ |
111 bool getDrawCommandVisibilityAt(int index); | 111 bool getDrawCommandVisibilityAt(int index); |
112 | 112 |
113 /** | 113 /** |
114 Returns the vector of draw commands | 114 Returns the vector of draw commands |
115 */ | 115 */ |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 bool lastClipStackData(const SkPath& devPath); | 324 bool lastClipStackData(const SkPath& devPath); |
325 void outputConicPoints(const SkPoint* pts, SkScalar weight); | 325 void outputConicPoints(const SkPoint* pts, SkScalar weight); |
326 void outputPoints(const SkPoint* pts, int count); | 326 void outputPoints(const SkPoint* pts, int count); |
327 void outputPointsCommon(const SkPoint* pts, int count); | 327 void outputPointsCommon(const SkPoint* pts, int count); |
328 void outputScalar(SkScalar num); | 328 void outputScalar(SkScalar num); |
329 | 329 |
330 typedef SkCanvas INHERITED; | 330 typedef SkCanvas INHERITED; |
331 }; | 331 }; |
332 | 332 |
333 #endif | 333 #endif |
OLD | NEW |