Lines Matching full:roots
66 int horizontalIntersect(double axisIntercept, double roots[2]) { in horizontalIntersect()
68 return this->validT(conicVals, axisIntercept, roots); in horizontalIntersect()
76 double roots[2]; in horizontalIntersect() local
77 int count = this->horizontalIntersect(axisIntercept, roots); in horizontalIntersect()
79 double conicT = roots[index]; in horizontalIntersect()
102 int roots = this->intersectRay(rootVals); in intersect() local
103 for (int index = 0; index < roots; ++index) { in intersect()
119 int intersectRay(double roots[2]) { in intersectRay()
126 return this->validT(r, 0, roots); in intersectRay()
129 int validT(double r[3], double axisIntercept, double roots[2]) { in validT()
136 return SkDQuad::RootsValidT(A, 2 * B, C, roots); in validT()
139 int verticalIntersect(double axisIntercept, double roots[2]) { in verticalIntersect()
141 return this->validT(conicVals, axisIntercept, roots); in verticalIntersect()
149 double roots[2]; in verticalIntersect() local
150 int count = this->verticalIntersect(axisIntercept, roots); in verticalIntersect()
152 double conicT = roots[index]; in verticalIntersect()
355 int SkIntersections::HorizontalIntercept(const SkDConic& conic, SkScalar y, double* roots) { in HorizontalIntercept() argument
357 return c.horizontalIntersect(y, roots); in HorizontalIntercept()
360 int SkIntersections::VerticalIntercept(const SkDConic& conic, SkScalar x, double* roots) { in VerticalIntercept() argument
362 return c.verticalIntersect(x, roots); in VerticalIntercept()