Searched refs:yIntercept (Results 1 – 12 of 12) sorted by relevance
/third_party/skia/src/pathops/ |
D | SkDLineIntersection.cpp | 305 double yIntercept = line[0].fY + fT[0][0] * (line[1].fY - line[0].fY); in vertical() local 306 if (between(top, yIntercept, bottom)) { in vertical() 307 fT[1][0] = (yIntercept - top) / (bottom - top); in vertical() 315 fPt[0].fY = yIntercept; in vertical()
|
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 | SkPathOpsQuad.h | 79 int horizontalIntersect(double yIntercept, double roots[2]) const;
|
D | SkPathOpsCubic.h | 102 int horizontalIntersect(double yIntercept, double roots[3]) const;
|
/third_party/flutter/skia/src/pathops/ |
D | SkDLineIntersection.cpp | 305 double yIntercept = line[0].fY + fT[0][0] * (line[1].fY - line[0].fY); in vertical() local 306 if (between(top, yIntercept, bottom)) { in vertical() 307 fT[1][0] = (yIntercept - top) / (bottom - top); in vertical() 315 fPt[0].fY = yIntercept; in vertical()
|
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 | SkPathOpsQuad.h | 79 int horizontalIntersect(double yIntercept, double roots[2]) const;
|
D | SkPathOpsCubic.h | 102 int horizontalIntersect(double yIntercept, double roots[3]) const;
|
/third_party/flutter/skia/modules/sksg/samples/ |
D | SampleSVGPong.cpp | 286 SkScalar t, yIntercept; in updatePaddleStrategy() local 287 std::tie(t, yIntercept) = find_yintercept(fBall.pos, fBall.spd, kBounds); in updatePaddleStrategy() 293 catcher->spd.fY = (yIntercept - catcher->pos.fY) / t; in updatePaddleStrategy()
|
/third_party/skia/modules/sksg/samples/ |
D | SampleSVGPong.cpp | 285 SkScalar t, yIntercept; in updatePaddleStrategy() local 286 std::tie(t, yIntercept) = find_yintercept(fBall.pos, fBall.spd, kBounds); in updatePaddleStrategy() 292 catcher->spd.fY = (yIntercept - catcher->pos.fY) / t; in updatePaddleStrategy()
|