Home
last modified time | relevance | path

Searched refs:midT (Results 1 – 15 of 15) sorted by relevance

/external/skqp/src/pathops/
DSkPathOpsConic.cpp139 double midT = (t1 + t2) / 2; in subDivide() local
140 double dx = conic_eval_numerator(&fPts[0].fX, fWeight, midT); in subDivide()
141 double dy = conic_eval_numerator(&fPts[0].fY, fWeight, midT); in subDivide()
142 double dz = conic_eval_denominator(fWeight, midT); in subDivide()
DSkOpAngle.h114 double midT() const;
DSkOpAngle.cpp372 SkDVector m0 = segment()->dPtAtT(this->midT()) - this->fPart.fCurve[0]; in checkParallel()
373 SkDVector m1 = rh->segment()->dPtAtT(rh->midT()) - rh->fPart.fCurve[0]; in checkParallel()
468 SkDVector m0 = this->segment()->dPtAtT(this->midT()) - this->fPart.fCurve[0]; in convexHullOverlaps()
469 SkDVector m1 = rh->segment()->dPtAtT(rh->midT()) - rh->fPart.fCurve[0]; in convexHullOverlaps()
854 double SkOpAngle::midT() const { in midT() function in SkOpAngle
DSkPathOpsTSect.cpp1296 double midT = (smaller->fEndT + larger->fStartT) / 2; in mergeCoincidence() local
1297 SkDPoint midPt = fCurve.ptAtT(midT); in mergeCoincidence()
1299 coin.setPerp(fCurve, midT, midPt, sect2->fCurve); in mergeCoincidence()
2062 double midT = ((*intersections)[0][index] + (*intersections)[0][index + 1]) / 2; in BinarySearch() local
2063 SkDPoint midPt = sect1->fCurve.ptAtT(midT); in BinarySearch()
2066 perp.setPerp(sect1->fCurve, midT, midPt, sect2->fCurve); in BinarySearch()
DSkOpCoincidence.cpp69 double midT = (prev->t() + start->t()) / 2; in expand() local
70 if (!segment->isClose(midT, oppSegment)) { in expand()
86 double midT = (end->t() + next->t()) / 2; in expand() local
87 if (!segment->isClose(midT, oppSegment)) { in expand()
DSkOpSegment.cpp1508 double midT = (t1 + t2) / 2; in ptsDisjoint() local
1509 SkPoint midPt = this->ptAtT(midT); in ptsDisjoint()
1668 double midT = (prior->t() + spanBase->t()) / 2; in testForCoincidence() local
1669 SkPoint midPt = this->ptAtT(midT); in testForCoincidence()
DSkPathOpsDebug.cpp1458 double midT = (prev->t() + start->t()) / 2; in debugExpand() local
1459 if (!segment->isClose(midT, oppSegment)) { in debugExpand()
1475 double midT = (end->t() + next->t()) / 2; in debugExpand() local
1476 if (!segment->isClose(midT, oppSegment)) { in debugExpand()
/external/skia/src/pathops/
DSkPathOpsConic.cpp139 double midT = (t1 + t2) / 2; in subDivide() local
140 double dx = conic_eval_numerator(&fPts[0].fX, fWeight, midT); in subDivide()
141 double dy = conic_eval_numerator(&fPts[0].fY, fWeight, midT); in subDivide()
142 double dz = conic_eval_denominator(fWeight, midT); in subDivide()
DSkOpAngle.h114 double midT() const;
DSkOpAngle.cpp372 SkDVector m0 = segment()->dPtAtT(this->midT()) - this->fPart.fCurve[0]; in checkParallel()
373 SkDVector m1 = rh->segment()->dPtAtT(rh->midT()) - rh->fPart.fCurve[0]; in checkParallel()
468 SkDVector m0 = this->segment()->dPtAtT(this->midT()) - this->fPart.fCurve[0]; in convexHullOverlaps()
469 SkDVector m1 = rh->segment()->dPtAtT(rh->midT()) - rh->fPart.fCurve[0]; in convexHullOverlaps()
854 double SkOpAngle::midT() const { in midT() function in SkOpAngle
DSkPathOpsTSect.cpp1297 double midT = (smaller->fEndT + larger->fStartT) / 2; in mergeCoincidence() local
1298 SkDPoint midPt = fCurve.ptAtT(midT); in mergeCoincidence()
1300 coin.setPerp(fCurve, midT, midPt, sect2->fCurve); in mergeCoincidence()
2062 double midT = ((*intersections)[0][index] + (*intersections)[0][index + 1]) / 2; in BinarySearch() local
2063 SkDPoint midPt = sect1->fCurve.ptAtT(midT); in BinarySearch()
2066 perp.setPerp(sect1->fCurve, midT, midPt, sect2->fCurve); in BinarySearch()
DSkOpCoincidence.cpp69 double midT = (prev->t() + start->t()) / 2; in expand() local
70 if (!segment->isClose(midT, oppSegment)) { in expand()
86 double midT = (end->t() + next->t()) / 2; in expand() local
87 if (!segment->isClose(midT, oppSegment)) { in expand()
DSkOpSegment.cpp1508 double midT = (t1 + t2) / 2; in ptsDisjoint() local
1509 SkPoint midPt = this->ptAtT(midT); in ptsDisjoint()
1668 double midT = (prior->t() + spanBase->t()) / 2; in testForCoincidence() local
1669 SkPoint midPt = this->ptAtT(midT); in testForCoincidence()
DSkPathOpsDebug.cpp1435 double midT = (prev->t() + start->t()) / 2; in debugExpand() local
1436 if (!segment->isClose(midT, oppSegment)) { in debugExpand()
1452 double midT = (end->t() + next->t()) / 2; in debugExpand() local
1453 if (!segment->isClose(midT, oppSegment)) { in debugExpand()
/external/skqp/src/gpu/ccpr/
DGrCCFillGeometry.cpp676 float midT = find_midtangent(tan0, tan1, p3 + (p1 - p2)*3 - p0, in chopAndAppendCubicAtMidTangent() local
681 if (!(midT > 0 && midT < 1)) { in chopAndAppendCubicAtMidTangent()
688 chop_cubic(p0, p1, p2, p3, midT, &p01, &p02, &pT, &p11, &p12); in chopAndAppendCubicAtMidTangent()
709 float midT = find_midtangent(tan0, tan1, (w - 1) * (p2 - p0), in conicTo() local
715 if (!(midT > 0 && midT < 1)) { in conicTo()
725 Sk4f midT4 = midT; in conicTo()