Home | History | Annotate | Download | only in gm

Lines Matching defs:path

37     void show(SkCanvas* canvas, const SkPath& path) {
43 bool hasInterior = path.hasRectangularInterior(&rect);
49 canvas->drawPath(path, paint);
52 canvas->drawPath(path, paint);
74 SkPath path;
75 path.setFillType(doEvenOdd ? SkPath::kEvenOdd_FillType : SkPath::kWinding_FillType);
81 path.addRoundRect(r, RAD, RAD, outerDir);
83 path.addRect(r, outerDir);
87 path.addRoundRect(r, RAD, RAD, innerDir);
89 path.addRect(r, innerDir);
95 path.offset(dx, dy);
97 this->show(canvas, path);