Lines Matching refs:fY
24 if (fPts[endIndex].fY == fPts[ctrlIndex].fY) {
25 dstPt->fY = fPts[endIndex].fY;
42 && approximately_equal_half(lessPt.fY, cubicAtT.fY)) {
61 && approximately_equal_half(morePt.fY, cubicAtT.fY)) {
108 dst.pts[1].fY = (fPts[0].fY + fPts[1].fY) / 2;
110 dst.pts[2].fY = (fPts[0].fY + 2 * fPts[1].fY + fPts[2].fY) / 4;
112 dst.pts[3].fY = (fPts[0].fY + 3 * (fPts[1].fY + fPts[2].fY) + fPts[3].fY) / 8;
114 dst.pts[4].fY = (fPts[1].fY + 2 * fPts[2].fY + fPts[3].fY) / 4;
116 dst.pts[5].fY = (fPts[2].fY + fPts[3].fY) / 2;
121 interp_cubic_coords(&fPts[0].fY, &dst.pts[0].fY, t);
138 || (between(fPts[0].fY, fPts[1].fY, fPts[3].fY)
139 && between(fPts[0].fY, fPts[2].fY, fPts[3].fY));
162 double origY = endPt[0]->fY;
164 double opp = endPt[1]->fY - origY;
167 double sign = (fPts[oddMan].fY - origY) * adj - (fPts[oddMan].fX - origX) * opp;
169 double sign2 = (fPts[oddMan2].fY - origY) * adj - (fPts[oddMan2].fX - origX) * opp;
182 double test = (pts[n].fY - origY) * adj - (pts[n].fX - origX) * opp;
219 double tiniest = std::min(std::min(std::min(std::min(std::min(std::min(std::min(fPts[0].fX, fPts[0].fY),
220 fPts[1].fX), fPts[1].fY), fPts[2].fX), fPts[2].fY), fPts[3].fX), fPts[3].fY);
221 double largest = std::max(std::max(std::max(std::max(std::max(std::max(std::max(fPts[0].fX, fPts[0].fY),
222 fPts[1].fX), fPts[1].fY), fPts[2].fX), fPts[2].fY), fPts[3].fX), fPts[3].fY);
305 derivative_at_t(&cubic.fPts[0].fY, testT) };
331 return precisely_between(fPts[0].fY, fPts[1].fY, fPts[3].fY)
332 && precisely_between(fPts[0].fY, fPts[2].fY, fPts[3].fY);
499 SkDVector result = { derivative_at_t(&fPts[0].fX, t), derivative_at_t(&fPts[0].fY, t) };
500 if (result.fX == 0 && result.fY == 0) {
509 if (result.fX == 0 && result.fY == 0 && zero_or_one(t)) {
519 double Ay = fPts[1].fY - fPts[0].fY;
521 double By = fPts[2].fY - 2 * fPts[1].fY + fPts[0].fY;
523 double Cy = fPts[3].fY + 3 * (fPts[1].fY - fPts[2].fY) - fPts[0].fY;
572 formulate_F1DotF2(&fPts[0].fY, coeffY);
594 a * fPts[0].fY + b * fPts[1].fY + c * fPts[2].fY + d * fPts[3].fY};
665 double ay = dst[0].fY = interp_cubic_coords(&fPts[0].fY, t1);
667 double ey = interp_cubic_coords(&fPts[0].fY, (t1*2+t2)/3);
669 double fy = interp_cubic_coords(&fPts[0].fY, (t1+t2*2)/3);
671 double dy = dst[3].fY = interp_cubic_coords(&fPts[0].fY, t2);
677 /* by = */ dst[1].fY = (my * 2 - ny) / 18;
679 /* cy = */ dst[2].fY = (ny * 2 - my) / 18;
700 if (AlmostBequalUlps(dst[0].fY, a.fY)) {
701 dst[0].fY = a.fY;
706 if (AlmostBequalUlps(dst[1].fY, d.fY)) {
707 dst[1].fY = d.fY;
726 int roots = SkDCubic::FindExtrema(&fPts[0].fY, extremeTs);
730 if (topPt->fY > mid.fY || (topPt->fY == mid.fY && topPt->fX > mid.fX)) {