Home
last modified time | relevance | path

Searched refs:finitePts (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DPathOpsSimplifyFailTest.cpp28 static const SkPoint finitePts[] = { variable
38 const size_t finitePtsCount = sizeof(finitePts) / sizeof(finitePts[0]);
48 case 2: path.quadTo(nonFinitePts[i], finitePts[f]); break; in failOne()
49 case 3: path.quadTo(finitePts[f], nonFinitePts[i]); break; in failOne()
50 case 4: path.cubicTo(nonFinitePts[i], finitePts[f], finitePts[f]); break; in failOne()
51 case 5: path.cubicTo(finitePts[f], nonFinitePts[i], finitePts[f]); break; in failOne()
52 case 6: path.cubicTo(finitePts[f], finitePts[f], nonFinitePts[i]); break; in failOne()
53 case 7: path.cubicTo(nonFinitePts[i], nonFinitePts[i], finitePts[f]); break; in failOne()
54 case 8: path.cubicTo(nonFinitePts[i], finitePts[f], nonFinitePts[i]); break; in failOne()
55 case 9: path.cubicTo(finitePts[f], nonFinitePts[i], nonFinitePts[i]); break; in failOne()
[all …]
DPathTest.cpp1348 static const SkPoint finitePts[] = { in test_convexity() local
1357 const size_t finitePtsCount = sizeof(finitePts) / sizeof(finitePts[0]); in test_convexity()
1367 case 2: path.quadTo(nonFinitePts[i], finitePts[f]); break; in test_convexity()
1368 case 3: path.quadTo(finitePts[f], nonFinitePts[i]); break; in test_convexity()
1369 case 4: path.cubicTo(nonFinitePts[i], finitePts[f], finitePts[f]); break; in test_convexity()
1370 case 5: path.cubicTo(finitePts[f], nonFinitePts[i], finitePts[f]); break; in test_convexity()
1371 case 6: path.cubicTo(finitePts[f], finitePts[f], nonFinitePts[i]); break; in test_convexity()
1372 case 7: path.cubicTo(nonFinitePts[i], nonFinitePts[i], finitePts[f]); break; in test_convexity()
1373 case 8: path.cubicTo(nonFinitePts[i], finitePts[f], nonFinitePts[i]); break; in test_convexity()
1374 case 9: path.cubicTo(finitePts[f], nonFinitePts[i], nonFinitePts[i]); break; in test_convexity()
[all …]