Searched refs:yIntercept (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/pathops/ |
D | SkDLineIntersection.cpp | 299 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()
|
D | SkPathOpsQuad.h | 78 int horizontalIntersect(double yIntercept, double roots[2]) const;
|
D | SkDQuadLineIntersection.cpp | 464 int SkDQuad::horizontalIntersect(double yIntercept, double roots[2]) const { in horizontalIntersect() argument 465 return SkIntersections::HorizontalIntercept(*this, yIntercept, roots); in horizontalIntersect()
|
D | SkDCubicLineIntersection.cpp | 449 int SkDCubic::horizontalIntersect(double yIntercept, double roots[3]) const { in horizontalIntersect() argument 450 return LineCubicIntersections::HorizontalIntersect(*this, yIntercept, roots); in horizontalIntersect()
|
D | SkPathOpsCubic.h | 98 int horizontalIntersect(double yIntercept, double roots[3]) const;
|
/external/skia/samplecode/ |
D | SampleSVGPong.cpp | 266 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()
|