Searched refs:SkClearCommand (Results 1 – 2 of 2) sorted by relevance
134 class SkClearCommand : public SkDrawCommand {136 SkClearCommand(SkColor color);139 static SkClearCommand* fromJSON(Json::Value& command, UrlDataManager& urlDataManager);
1547 SkClearCommand::SkClearCommand(SkColor color) : INHERITED(kDrawClear_OpType) { in SkClearCommand() function in SkClearCommand1552 void SkClearCommand::execute(SkCanvas* canvas) const { in execute()1556 Json::Value SkClearCommand::toJSON(UrlDataManager& urlDataManager) const { in toJSON()1562 SkClearCommand* SkClearCommand::fromJSON(Json::Value& command, UrlDataManager& urlDataManager) { in fromJSON()1564 return new SkClearCommand(get_json_color(color)); in fromJSON()