• Home
  • Raw
  • Download

Lines Matching refs:roots

130     int intersectRay(double roots[3]) {  in intersectRay()
140 int count = SkDCubic::RootsValidT(A, B, C, D, roots); in intersectRay()
142 SkDPoint calcPt = c.ptAtT(roots[index]); in intersectRay()
150 count = c.searchRoots(extremeTs, extrema, 0, SkDCubic::kXAxis, roots); in intersectRay()
163 int roots = intersectRay(rootVals); in intersect() local
164 for (int index = 0; index < roots; ++index) { in intersect()
176 static int HorizontalIntersect(const SkDCubic& c, double axisIntercept, double roots[3]) { in HorizontalIntersect()
180 int count = SkDCubic::RootsValidT(A, B, C, D, roots); in HorizontalIntersect()
182 SkDPoint calcPt = c.ptAtT(roots[index]); in HorizontalIntersect()
186 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kYAxis, roots); in HorizontalIntersect()
198 double roots[3]; in horizontalIntersect() local
199 int count = HorizontalIntersect(fCubic, axisIntercept, roots); in horizontalIntersect()
201 double cubicT = roots[index]; in horizontalIntersect()
239 static int VerticalIntersect(const SkDCubic& c, double axisIntercept, double roots[3]) { in VerticalIntersect()
243 int count = SkDCubic::RootsValidT(A, B, C, D, roots); in VerticalIntersect()
245 SkDPoint calcPt = c.ptAtT(roots[index]); in VerticalIntersect()
249 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kXAxis, roots); in VerticalIntersect()
261 double roots[3]; in verticalIntersect() local
262 int count = VerticalIntersect(fCubic, axisIntercept, roots); in verticalIntersect()
264 double cubicT = roots[index]; in verticalIntersect()
458 int SkDCubic::horizontalIntersect(double yIntercept, double roots[3]) const { in horizontalIntersect()
459 return LineCubicIntersections::HorizontalIntersect(*this, yIntercept, roots); in horizontalIntersect()
462 int SkDCubic::verticalIntersect(double xIntercept, double roots[3]) const { in verticalIntersect()
463 return LineCubicIntersections::VerticalIntersect(*this, xIntercept, roots); in verticalIntersect()