Lines Matching refs:roots
147 int intersectRay(double roots[2]) { in intersectRay()
174 return SkDQuad::RootsValidT(A, 2 * B, C, roots); in intersectRay()
183 int roots = intersectRay(rootVals); in intersect() local
184 for (int index = 0; index < roots; ++index) { in intersect()
196 int horizontalIntersect(double axisIntercept, double roots[2]) { in horizontalIntersect()
203 return SkDQuad::RootsValidT(D, 2 * E, F, roots); in horizontalIntersect()
212 int roots = horizontalIntersect(axisIntercept, rootVals); in horizontalIntersect() local
213 for (int index = 0; index < roots; ++index) { in horizontalIntersect()
252 int verticalIntersect(double axisIntercept, double roots[2]) { in verticalIntersect()
259 return SkDQuad::RootsValidT(D, 2 * E, F, roots); in verticalIntersect()
268 int roots = verticalIntersect(axisIntercept, rootVals); in verticalIntersect() local
269 for (int index = 0; index < roots; ++index) { in verticalIntersect()
460 int SkIntersections::HorizontalIntercept(const SkDQuad& quad, SkScalar y, double* roots) { in HorizontalIntercept() argument
462 return q.horizontalIntersect(y, roots); in HorizontalIntercept()
465 int SkIntersections::VerticalIntercept(const SkDQuad& quad, SkScalar x, double* roots) { in VerticalIntercept() argument
467 return q.verticalIntersect(x, roots); in VerticalIntercept()
472 int SkDQuad::horizontalIntersect(double yIntercept, double roots[2]) const { in horizontalIntersect()
473 return SkIntersections::HorizontalIntercept(*this, yIntercept, roots); in horizontalIntersect()
476 int SkDQuad::verticalIntersect(double xIntercept, double roots[2]) const { in verticalIntersect()
477 return SkIntersections::VerticalIntercept(*this, xIntercept, roots); in verticalIntersect()