Lines Matching full:path
15 // closed rects, but they don't call path.close(). Depending on the stroke
23 // The path looks not closed at all.
26 // The path looks closed, but final rendering has 2 ends with cap.
29 // The path looks closed, and the final rendering looks closed too.
45 // Use rect-like geometry for non-closed path, for right angles make it
47 static void MakePath(SkPath* path, ClosureType type) {
49 path->moveTo(30, 50);
50 path->lineTo(30, 30);
52 path->moveTo(30, 30);
54 path->lineTo(70, 30);
55 path->lineTo(70, 70);
56 path->lineTo(30, 70);
57 path->lineTo(30, 50);
59 path->lineTo(30, 30);
106 SkPath path;
107 MakePath(&path, kType[type]);
114 canvas->drawPath(path, paint);
129 SkPath path;
130 MakePath(&path, kType[type]);
132 canvas->drawPath(path, paint);