Home
last modified time | relevance | path

Searched refs:yIntercept (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/pathops/
DSkDLineIntersection.cpp299 double yIntercept = line[0].fY + fT[0][0] * (line[1].fY - line[0].fY); in vertical() local
300 if (between(top, yIntercept, bottom)) { in vertical()
301 fT[1][0] = (yIntercept - top) / (bottom - top); in vertical()
309 fPt[0].fY = yIntercept; in vertical()
DSkPathOpsQuad.h78 int horizontalIntersect(double yIntercept, double roots[2]) const;
DSkDQuadLineIntersection.cpp464 int SkDQuad::horizontalIntersect(double yIntercept, double roots[2]) const { in horizontalIntersect() argument
465 return SkIntersections::HorizontalIntercept(*this, yIntercept, roots); in horizontalIntersect()
DSkDCubicLineIntersection.cpp449 int SkDCubic::horizontalIntersect(double yIntercept, double roots[3]) const { in horizontalIntersect() argument
450 return LineCubicIntersections::HorizontalIntersect(*this, yIntercept, roots); in horizontalIntersect()
DSkPathOpsCubic.h98 int horizontalIntersect(double yIntercept, double roots[3]) const;
/external/skia/samplecode/
DSampleSVGPong.cpp266 SkScalar t, yIntercept; in updatePaddleStrategy() local
267 std::tie(t, yIntercept) = find_yintercept(fBall.pos, fBall.spd, kBounds); in updatePaddleStrategy()
273 catcher->spd.fY = (yIntercept - catcher->pos.fY) / t; in updatePaddleStrategy()