Index: debugger/SkDebugCanvas.h |
=================================================================== |
--- debugger/SkDebugCanvas.h (revision 8452) |
+++ debugger/SkDebugCanvas.h (working copy) |
@@ -70,12 +70,25 @@ |
int getCommandAtPoint(int x, int y, int index); |
/** |
+ Removes the command at the specified index |
+ @param index The index of the command to delete |
+ */ |
+ void deleteDrawCommandAt(int index); |
+ |
+ /** |
Returns the draw command at the given index. |
@param index The index of the command |
*/ |
SkDrawCommand* getDrawCommandAt(int index); |
/** |
+ Sets the draw command for a given index. |
+ @param index The index to overwrite |
+ @param command The new command |
+ */ |
+ void setDrawCommandAt(int index, SkDrawCommand* command); |
+ |
+ /** |
Returns information about the command at the given index. |
@param index The index of the command |
*/ |
@@ -89,6 +102,7 @@ |
/** |
Returns the vector of draw commands |
+ DEPRECATED: please use getDrawCommandAt and getSize instead |
*/ |
const SkTDArray<SkDrawCommand*>& getDrawCommands() const; |