Searched refs:DrawPathCommand (Results 1 – 3 of 3) sorted by relevance
419 class DrawPathCommand : public DrawCommand {421 DrawPathCommand(const SkPath& path, const SkPaint& paint);
1500 DrawPathCommand::DrawPathCommand(const SkPath& path, const SkPaint& paint) in DrawPathCommand() function in DrawPathCommand1506 void DrawPathCommand::execute(SkCanvas* canvas) const { canvas->drawPath(fPath, fPaint); } in execute()1508 bool DrawPathCommand::render(SkCanvas* canvas) const { in render()1513 void DrawPathCommand::toJSON(SkJSONWriter& writer, UrlDataManager& urlDataManager) const { in toJSON()
485 this->addDrawCommand(new DrawPathCommand(path, paint)); in onDrawPath()