Lines Matching refs:SkDVector
44 SkDVector offset = {quad[0].fX, quad[0].fY}; in testArc()
105 const SkDVector& pt = quad.ptAtT(t) - quad[0]; in quadAngle()
116 static void setQuadHullSweep(const SkDQuad& quad, SkDVector sweep[2]) { in setQuadHullSweep()
122 SkDVector v[] = {quad[2] - quad[0], quad[1] - quad[0], quad[2] - quad[1]}; in distEndRatio()
128 SkDVector sweep[2], tweep[2]; in checkParallel()
151 SkDVector m0 = quad1.ptAtT(0.5) - quad1[0]; in checkParallel()
152 SkDVector m1 = quad2.ptAtT(0.5) - quad2[0]; in checkParallel()
163 SkDVector sweep[2], tweep[2]; in quadHullsOverlap()
195 SkDVector m0 = quad1.ptAtT(0.5) - quad1[0]; in quadHullsOverlap()
196 SkDVector m1 = quad2.ptAtT(0.5) - quad2[0]; in quadHullsOverlap()
261 SkDVector corner[4] = { in maxDist()
454 SkDVector v1s = quad1[1] - quad1[0]; in testQuadAngles()
455 SkDVector v1e = quad1[2] - quad1[0]; in testQuadAngles()
456 SkDVector v2s = quad2[1] - quad2[0]; in testQuadAngles()
457 SkDVector v2e = quad2[2] - quad2[0]; in testQuadAngles()
475 SkDVector midSpokes[2]; in testQuadAngles()
510 SkDVector ray = q.ptAtT(smallT) - origin; in testQuadAngles()
511 SkDVector end = rays[index][1] - origin; in testQuadAngles()
529 SkDVector ray = q.ptAtT(t) - origin; in testQuadAngles()
530 SkDVector end = rays[sIndex][1] - origin; in testQuadAngles()
533 SkDVector mid = q.ptAtT(t / 2) - origin; in testQuadAngles()
724 SkDVector longEdge = quad[2] - quad[0]; in endCtrlRatio()
726 SkDVector shortEdge = quad[1] - quad[0]; in endCtrlRatio()
731 static void computeMV(const SkDQuad& quad, const SkDVector& v, double m, SkDVector mV[2]) { in computeMV()
744 SkDVector v1 = q1[1] - q1[0]; in mDistance()
745 SkDVector v2 = q2[1] - q2[0]; in mDistance()
759 SkDVector mV1[2], mV2[2]; in mDistance()
785 SkDVector m1 = mid1 - q1[0]; in midPointAgrees()
787 SkDVector m2 = mid2 - q2[0]; in midPointAgrees()
809 SkDVector sweep[2], tweep[2]; in DEF_TEST()