/third_party/skia/tests/ |
D | PathOpsQuadIntersectionTest.cpp | 22 SkDQuad quad2; in standardTestCases() local 23 quad2.debugSet(q2.fPts); in standardTestCases() 24 SkASSERT(ValidQuad(quad2)); in standardTestCases() 27 int order2 = reduce2.reduce(quad2); in standardTestCases() 40 intersections.intersect(quad1, quad2); in standardTestCases() 46 SkDPoint xy2 = quad2.ptAtT(tt2); in standardTestCases() 341 SkDQuad quad2; in oneOffTest1() local 342 quad2.debugSet(q2.fPts); in oneOffTest1() 343 SkASSERT(ValidQuad(quad2)); in oneOffTest1() 345 intersections.intersect(quad1, quad2); in oneOffTest1() [all …]
|
D | PathOpsAngleIdeas.cpp | 129 static bool checkParallel(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2)… in checkParallel() argument 132 setQuadHullSweep(quad2, tweep); in checkParallel() 149 double mFactor = fabs(useS ? distEndRatio(sDist, quad1) : distEndRatio(tDist, quad2)); in checkParallel() 154 SkDVector m1 = quad2.ptAtT(0.5) - quad2[0]; in checkParallel() 164 const SkDQuad& quad2) { in quadHullsOverlap() argument 167 setQuadHullSweep(quad2, tweep); in quadHullsOverlap() 198 SkDVector m1 = quad2.ptAtT(0.5) - quad2[0]; in quadHullsOverlap() 207 return checkParallel(reporter, quad1, quad2); in quadHullsOverlap() 228 static bool orderTRange(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2, in orderTRange() argument 232 orderQuads(reporter,quad2, r, &t2Array); in orderTRange() [all …]
|
D | PathOpsDebug.cpp | 469 static void dumpTestCase(const SkDQuad& quad1, const SkDQuad& quad2, int testNo) { in dumpTestCase() argument 473 quad2.dump(); in dumpTestCase() 490 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo) { in DumpQ() argument 492 dumpTestCase(quad1, quad2, testNo); in DumpQ()
|
/third_party/flutter/skia/tests/ |
D | PathOpsQuadIntersectionTest.cpp | 22 SkDQuad quad2; in standardTestCases() local 23 quad2.debugSet(q2.fPts); in standardTestCases() 24 SkASSERT(ValidQuad(quad2)); in standardTestCases() 27 int order2 = reduce2.reduce(quad2); in standardTestCases() 40 intersections.intersect(quad1, quad2); in standardTestCases() 46 SkDPoint xy2 = quad2.ptAtT(tt2); in standardTestCases() 341 SkDQuad quad2; in oneOffTest1() local 342 quad2.debugSet(q2.fPts); in oneOffTest1() 343 SkASSERT(ValidQuad(quad2)); in oneOffTest1() 345 intersections.intersect(quad1, quad2); in oneOffTest1() [all …]
|
D | PathOpsAngleIdeas.cpp | 129 static bool checkParallel(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2)… in checkParallel() argument 132 setQuadHullSweep(quad2, tweep); in checkParallel() 149 double mFactor = fabs(useS ? distEndRatio(sDist, quad1) : distEndRatio(tDist, quad2)); in checkParallel() 154 SkDVector m1 = quad2.ptAtT(0.5) - quad2[0]; in checkParallel() 164 const SkDQuad& quad2) { in quadHullsOverlap() argument 167 setQuadHullSweep(quad2, tweep); in quadHullsOverlap() 198 SkDVector m1 = quad2.ptAtT(0.5) - quad2[0]; in quadHullsOverlap() 207 return checkParallel(reporter, quad1, quad2); in quadHullsOverlap() 228 static bool orderTRange(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2, in orderTRange() argument 232 orderQuads(reporter,quad2, r, &t2Array); in orderTRange() [all …]
|
D | PathOpsDebug.cpp | 469 static void dumpTestCase(const SkDQuad& quad1, const SkDQuad& quad2, int testNo) { in dumpTestCase() argument 473 quad2.dump(); in dumpTestCase() 490 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo) { in DumpQ() argument 492 dumpTestCase(quad1, quad2, testNo); in DumpQ()
|
/third_party/flutter/skia/src/pathops/ |
D | SkAddIntersections.cpp | 286 SkDQuad quad1, quad2; in AddIntersectTs() local 404 pts = ts.intersect(quad1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs() 443 quad2.set(wn.pts())); in AddIntersectTs() 481 pts = ts.intersect(cubic1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs()
|
D | SkPathOpsDebug.h | 488 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo);
|
D | SkPathOpsTSect.cpp | 2087 SkTQuad quad2(q2); in intersect() local 2089 SkTSect sect2(quad2 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(2)); in intersect()
|
/third_party/skia/src/pathops/ |
D | SkAddIntersections.cpp | 286 SkDQuad quad1, quad2; in AddIntersectTs() local 404 pts = ts.intersect(quad1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs() 443 quad2.set(wn.pts())); in AddIntersectTs() 481 pts = ts.intersect(cubic1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs()
|
D | SkPathOpsDebug.h | 467 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo);
|
D | SkPathOpsTSect.cpp | 2086 SkTQuad quad2(q2); in intersect() local 2088 SkTSect sect2(quad2 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(2)); in intersect()
|