Lines Matching full:path
37 SkPath path, out;
38 path.setFillType(SkPath::kWinding_FillType);
39 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay));
40 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by));
41 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy));
42 path.close();
43 path.moveTo(SkIntToScalar(dx), SkIntToScalar(dy));
44 path.lineTo(SkIntToScalar(ex), SkIntToScalar(ey));
45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy));
46 path.close();
49 str += sprintf(str, " path.moveTo(%d, %d);\n", ax, ay);
50 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by);
51 str += sprintf(str, " path.lineTo(%d, %d);\n", cx, cy);
52 str += sprintf(str, " path.close();\n");
53 str += sprintf(str, " path.moveTo(%d, %d);\n", dx, dy);
54 str += sprintf(str, " path.lineTo(%d, %d);\n", ex, ey);
55 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
56 str += sprintf(str, " path.close();\n");
59 testSimplify(path, false, out, state, pathStr);
60 path.setFillType(SkPath::kEvenOdd_FillType);
64 testSimplify(path, true, out, state, pathStr);