Lines Matching refs:fY
23 if (fPts[endIndex].fY == fPts[ctrlIndex].fY) { in align()
24 dstPt->fY = fPts[endIndex].fY; in align()
42 && approximately_equal_half(lessPt.fY, cubicAtT.fY)) { in binarySearch()
61 && approximately_equal_half(morePt.fY, cubicAtT.fY)) { in binarySearch()
111 dst.pts[1].fY = (fPts[0].fY + fPts[1].fY) / 2; in chopAt()
113 dst.pts[2].fY = (fPts[0].fY + 2 * fPts[1].fY + fPts[2].fY) / 4; in chopAt()
115 dst.pts[3].fY = (fPts[0].fY + 3 * (fPts[1].fY + fPts[2].fY) + fPts[3].fY) / 8; in chopAt()
117 dst.pts[4].fY = (fPts[1].fY + 2 * fPts[2].fY + fPts[3].fY) / 4; in chopAt()
119 dst.pts[5].fY = (fPts[2].fY + fPts[3].fY) / 2; in chopAt()
124 interp_cubic_coords(&fPts[0].fY, &dst.pts[0].fY, t); in chopAt()
141 || (between(fPts[0].fY, fPts[1].fY, fPts[3].fY) in endsAreExtremaInXOrY()
142 && between(fPts[0].fY, fPts[2].fY, fPts[3].fY)); in endsAreExtremaInXOrY()
165 double origY = endPt[0]->fY; in hullIntersects()
167 double opp = endPt[1]->fY - origY; in hullIntersects()
170 double sign = (fPts[oddMan].fY - origY) * adj - (fPts[oddMan].fX - origX) * opp; in hullIntersects()
172 double sign2 = (fPts[oddMan2].fY - origY) * adj - (fPts[oddMan2].fX - origX) * opp; in hullIntersects()
185 double test = (pts[n].fY - origY) * adj - (pts[n].fX - origX) * opp; in hullIntersects()
219 double tiniest = SkTMin(SkTMin(SkTMin(SkTMin(SkTMin(SkTMin(SkTMin(fPts[0].fX, fPts[0].fY), in isLinear()
220 fPts[1].fX), fPts[1].fY), fPts[2].fX), fPts[2].fY), fPts[3].fX), fPts[3].fY); in isLinear()
221 double largest = SkTMax(SkTMax(SkTMax(SkTMax(SkTMax(SkTMax(SkTMax(fPts[0].fX, fPts[0].fY), in isLinear()
222 fPts[1].fX), fPts[1].fY), fPts[2].fX), fPts[2].fY), fPts[3].fX), fPts[3].fY); in isLinear()
297 return precisely_between(fPts[0].fY, fPts[1].fY, fPts[3].fY) in monotonicInY()
298 && precisely_between(fPts[0].fY, fPts[2].fY, fPts[3].fY); in monotonicInY()
473 SkDVector result = { derivative_at_t(&fPts[0].fX, t), derivative_at_t(&fPts[0].fY, t) }; in dxdyAtT()
474 if (result.fX == 0 && result.fY == 0) { in dxdyAtT()
483 if (result.fX == 0 && result.fY == 0 && zero_or_one(t)) { in dxdyAtT()
493 double Ay = fPts[1].fY - fPts[0].fY; in findInflections()
495 double By = fPts[2].fY - 2 * fPts[1].fY + fPts[0].fY; in findInflections()
497 double Cy = fPts[3].fY + 3 * (fPts[1].fY - fPts[2].fY) - fPts[0].fY; in findInflections()
546 formulate_F1DotF2(&fPts[0].fY, coeffY); in findMaxCurvature()
568 a * fPts[0].fY + b * fPts[1].fY + c * fPts[2].fY + d * fPts[3].fY}; in ptAtT()
639 double ay = dst[0].fY = interp_cubic_coords(&fPts[0].fY, t1); in subDivide()
641 double ey = interp_cubic_coords(&fPts[0].fY, (t1*2+t2)/3); in subDivide()
643 double fy = interp_cubic_coords(&fPts[0].fY, (t1+t2*2)/3); in subDivide()
645 double dy = dst[3].fY = interp_cubic_coords(&fPts[0].fY, t2); in subDivide()
651 /* by = */ dst[1].fY = (my * 2 - ny) / 18; in subDivide()
653 /* cy = */ dst[2].fY = (ny * 2 - my) / 18; in subDivide()
674 if (AlmostBequalUlps(dst[0].fY, a.fY)) { in subDivide()
675 dst[0].fY = a.fY; in subDivide()
680 if (AlmostBequalUlps(dst[1].fY, d.fY)) { in subDivide()
681 dst[1].fY = d.fY; in subDivide()
688 int roots = SkDCubic::FindExtrema(&fPts[0].fY, extremeTs); in top()
692 if (topPt->fY > mid.fY || (topPt->fY == mid.fY && topPt->fX > mid.fX)) { in top()