Searched refs:nonFinitePts (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | PathOpsSimplifyFailTest.cpp | 12 static const SkPoint nonFinitePts[] = { variable 26 const size_t nonFinitePtsCount = sizeof(nonFinitePts) / sizeof(nonFinitePts[0]); 46 case 0: path.lineTo(nonFinitePts[i]); break; in failOne() 47 case 1: path.quadTo(nonFinitePts[i], nonFinitePts[i]); break; in failOne() 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() [all …]
|
D | PathTest.cpp | 1332 static const SkPoint nonFinitePts[] = { in test_convexity() local 1346 const size_t nonFinitePtsCount = sizeof(nonFinitePts) / sizeof(nonFinitePts[0]); in test_convexity() 1365 case 0: path.lineTo(nonFinitePts[i]); break; in test_convexity() 1366 case 1: path.quadTo(nonFinitePts[i], nonFinitePts[i]); break; 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() [all …]
|