• Home
  • Raw
  • Download

Lines Matching full:roots

366 static int line_intercept_h(const SkPoint a[2], SkScalar , SkScalar y, double* roots) {  in line_intercept_h()  argument
371 roots[0] = SkIntersections::HorizontalIntercept(line.set(a), y); in line_intercept_h()
372 return between(0, roots[0], 1); in line_intercept_h()
375 static int line_intercept_v(const SkPoint a[2], SkScalar , SkScalar x, double* roots) { in line_intercept_v() argument
380 roots[0] = SkIntersections::VerticalIntercept(line.set(a), x); in line_intercept_v()
381 return between(0, roots[0], 1); in line_intercept_v()
384 static int quad_intercept_h(const SkPoint a[2], SkScalar , SkScalar y, double* roots) { in quad_intercept_h() argument
386 return SkIntersections::HorizontalIntercept(quad.set(a), y, roots); in quad_intercept_h()
389 static int quad_intercept_v(const SkPoint a[2], SkScalar , SkScalar x, double* roots) { in quad_intercept_v() argument
391 return SkIntersections::VerticalIntercept(quad.set(a), x, roots); in quad_intercept_v()
394 static int conic_intercept_h(const SkPoint a[2], SkScalar w, SkScalar y, double* roots) { in conic_intercept_h() argument
396 return SkIntersections::HorizontalIntercept(conic.set(a, w), y, roots); in conic_intercept_h()
399 static int conic_intercept_v(const SkPoint a[2], SkScalar w, SkScalar x, double* roots) { in conic_intercept_v() argument
401 return SkIntersections::VerticalIntercept(conic.set(a, w), x, roots); in conic_intercept_v()
404 static int cubic_intercept_h(const SkPoint a[3], SkScalar , SkScalar y, double* roots) { in cubic_intercept_h() argument
406 return cubic.set(a).horizontalIntersect(y, roots); in cubic_intercept_h()
409 static int cubic_intercept_v(const SkPoint a[3], SkScalar , SkScalar x, double* roots) { in cubic_intercept_v() argument
411 return cubic.set(a).verticalIntersect(x, roots); in cubic_intercept_v()