Lines Matching refs:roots
139 int intersectRay(double roots[2]) { in intersectRay()
166 return SkDQuad::RootsValidT(A, 2 * B, C, roots); in intersectRay()
175 int roots = intersectRay(rootVals); in intersect() local
176 for (int index = 0; index < roots; ++index) { in intersect()
188 int horizontalIntersect(double axisIntercept, double roots[2]) { in horizontalIntersect()
195 return SkDQuad::RootsValidT(D, 2 * E, F, roots); in horizontalIntersect()
204 int roots = horizontalIntersect(axisIntercept, rootVals); in horizontalIntersect() local
205 for (int index = 0; index < roots; ++index) { in horizontalIntersect()
244 int verticalIntersect(double axisIntercept, double roots[2]) { in verticalIntersect()
251 return SkDQuad::RootsValidT(D, 2 * E, F, roots); in verticalIntersect()
260 int roots = verticalIntersect(axisIntercept, rootVals); in verticalIntersect() local
261 for (int index = 0; index < roots; ++index) { in verticalIntersect()
452 int SkIntersections::HorizontalIntercept(const SkDQuad& quad, SkScalar y, double* roots) { in HorizontalIntercept() argument
454 return q.horizontalIntersect(y, roots); in HorizontalIntercept()
457 int SkIntersections::VerticalIntercept(const SkDQuad& quad, SkScalar x, double* roots) { in VerticalIntercept() argument
459 return q.verticalIntersect(x, roots); in VerticalIntercept()
464 int SkDQuad::horizontalIntersect(double yIntercept, double roots[2]) const { in horizontalIntersect()
465 return SkIntersections::HorizontalIntercept(*this, yIntercept, roots); in horizontalIntersect()
468 int SkDQuad::verticalIntersect(double xIntercept, double roots[2]) const { in verticalIntersect()
469 return SkIntersections::VerticalIntercept(*this, xIntercept, roots); in verticalIntersect()