Lines Matching defs:path
136 SkPath path = make_unit_star(5);
137 SkMatrix matrix = SkMatrix::RectToRect(path.getBounds(), bounds, SkMatrix::kCenter_ScaleToFit);
138 return path.makeTransform(matrix);
179 SkPath path;
261 // 255on/255off 1x1 squares with phase of 0 - rects fast path
267 // 1on/1off 3x3 squares with phase of 0 - points fast path
273 // 1on/1off 3x3 squares with phase of 1.5 - rects fast path
279 // 1on/1off 1x1 circles with phase of 1 - no fast path yet
285 // 1on/1off 3x3 circles with phase of 1 - no fast path yet
291 // 1on/1off 1x1 squares with rotation - should break fast path
300 // 3on/3off 3x1 rects - should use rect fast path regardless of phase
648 SkPath path;
653 path.moveTo(l, t);
654 path.lineTo(r, t);
655 path.lineTo(r, b);
656 path.lineTo(l, b);
657 path.close();
662 canvas->drawPath(path, p);