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