Lines Matching refs:SkDCubic
85 LineCubicIntersections(const SkDCubic& c, const SkDLine& l, SkIntersections* i) in LineCubicIntersections()
124 SkDCubic c; in intersectRay()
130 SkDCubic::Coefficients(&c[0].fX, &A, &B, &C, &D); in intersectRay()
131 int count = SkDCubic::RootsValidT(A, B, C, D, roots); in intersectRay()
140 int extrema = SkDCubic::FindExtrema(&c[0].fX, extremeTs); in intersectRay()
141 count = c.searchRoots(extremeTs, extrema, 0, SkDCubic::kXAxis, roots); in intersectRay()
167 static int HorizontalIntersect(const SkDCubic& c, double axisIntercept, double roots[3]) { in HorizontalIntersect()
169 SkDCubic::Coefficients(&c[0].fY, &A, &B, &C, &D); in HorizontalIntersect()
171 int count = SkDCubic::RootsValidT(A, B, C, D, roots); in HorizontalIntersect()
176 int extrema = SkDCubic::FindExtrema(&c[0].fY, extremeTs); in HorizontalIntersect()
177 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kYAxis, roots); in HorizontalIntersect()
230 static int VerticalIntersect(const SkDCubic& c, double axisIntercept, double roots[3]) { in VerticalIntersect()
232 SkDCubic::Coefficients(&c[0].fX, &A, &B, &C, &D); in VerticalIntersect()
234 int count = SkDCubic::RootsValidT(A, B, C, D, roots); in VerticalIntersect()
239 int extrema = SkDCubic::FindExtrema(&c[0].fX, extremeTs); in VerticalIntersect()
240 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kXAxis, roots); in VerticalIntersect()
412 const SkDCubic& fCubic;
418 int SkIntersections::horizontal(const SkDCubic& cubic, double left, double right, double y, in horizontal()
425 int SkIntersections::vertical(const SkDCubic& cubic, double top, double bottom, double x, in vertical()
432 int SkIntersections::intersect(const SkDCubic& cubic, const SkDLine& line) { in intersect()
438 int SkIntersections::intersectRay(const SkDCubic& cubic, const SkDLine& line) { in intersectRay()
449 int SkDCubic::horizontalIntersect(double yIntercept, double roots[3]) const { in horizontalIntersect()
453 int SkDCubic::verticalIntersect(double xIntercept, double roots[3]) const { in verticalIntersect()