Lines Matching refs:SkDQuad
41 static double testArc(skiatest::Reporter* reporter, const SkDQuad& quad, const SkDQuad& arcRef, in testArc()
43 SkDQuad arc = arcRef; in testArc()
74 static void orderQuads(skiatest::Reporter* reporter, const SkDQuad& quad, double radius, in orderQuads()
80 const SkDQuad circle[8] = {{{{ r, 0}, { r, -s}, { m, -m}}}, in orderQuads()
104 static double quadAngle(skiatest::Reporter* reporter, const SkDQuad& quad, double t) { in quadAngle()
116 static void setQuadHullSweep(const SkDQuad& quad, SkDVector sweep[2]) { in setQuadHullSweep()
121 static double distEndRatio(double dist, const SkDQuad& quad) { in distEndRatio()
127 static bool checkParallel(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2)… in checkParallel()
161 static int quadHullsOverlap(skiatest::Reporter* reporter, const SkDQuad& quad1, in quadHullsOverlap()
162 const SkDQuad& quad2) { in quadHullsOverlap()
226 static bool orderTRange(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2, in orderTRange()
258 static double maxDist(const SkDQuad& quad) { in maxDist()
274 static double maxQuad(const SkDQuad& quad) { in maxQuad()
283 static bool bruteMinT(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2, in bruteMinT()
389 static void bruteForce(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2, in bruteForce()
401 static bool bruteForceCheck(skiatest::Reporter* reporter, const SkDQuad& quad1, in bruteForceCheck()
402 const SkDQuad& quad2, bool ccw) { in bruteForceCheck()
409 static void makeSegment(SkOpContour* contour, const SkDQuad& quad, SkPoint shortQuad[3], in makeSegment()
417 static void testQuadAngles(skiatest::Reporter* reporter, const SkDQuad& quad1, const SkDQuad& quad2, in testQuadAngles()
474 const SkDQuad* quads[] = {&quad1, &quad2}; in testQuadAngles()
484 const SkDQuad& q = *quads[index]; in testQuadAngles()
528 const SkDQuad& q = *quads[sIndex]; in testQuadAngles()
559 const SkDQuad quads[] = { in DEF_TEST()
577 SkDQuad quad1 = {{origin, {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}, in DEF_TEST()
582 SkDQuad quad2 = {{origin, {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}, in DEF_TEST()
603 SkDQuad small[2]; in DEF_TEST()
607 SkDQuad quad1 = {{origin, {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}, in DEF_TEST()
612 SkDQuad quad2 = {{origin, {ran.nextRangeF(-1000, 1000), ran.nextRangeF(-1000, 1000)}, in DEF_TEST()
641 const SkDQuad quads[] = { in DEF_TEST()
670 static const SkDQuad extremeTests[][2] = {
723 static double endCtrlRatio(const SkDQuad quad) { in endCtrlRatio()
731 static void computeMV(const SkDQuad& quad, const SkDVector& v, double m, SkDVector mV[2]) { in computeMV()
738 static double mDistance(skiatest::Reporter* reporter, bool agrees, const SkDQuad& q1, in mDistance()
739 const SkDQuad& q2) { in mDistance()
782 static void midPointAgrees(skiatest::Reporter* reporter, const SkDQuad& q1, const SkDQuad& q2, in midPointAgrees()
797 const SkDQuad& quad1 = extremeTests[index][0]; in DEF_TEST()
798 const SkDQuad& quad2 = extremeTests[index][1]; in DEF_TEST()
821 SkDQuad q1 = quad1; in DEF_TEST()
822 SkDQuad q2 = quad2; in DEF_TEST()