• Home
  • Raw
  • Download

Lines Matching full:roots

360 static int line_intercept_h(const SkPoint a[2], SkScalar , SkScalar y, double* roots) {  in line_intercept_h()  argument
365 roots[0] = SkIntersections::HorizontalIntercept(line.set(a), y); in line_intercept_h()
366 return between(0, roots[0], 1); in line_intercept_h()
369 static int line_intercept_v(const SkPoint a[2], SkScalar , SkScalar x, double* roots) { in line_intercept_v() argument
374 roots[0] = SkIntersections::VerticalIntercept(line.set(a), x); in line_intercept_v()
375 return between(0, roots[0], 1); in line_intercept_v()
378 static int quad_intercept_h(const SkPoint a[2], SkScalar , SkScalar y, double* roots) { in quad_intercept_h() argument
380 return SkIntersections::HorizontalIntercept(quad.set(a), y, roots); in quad_intercept_h()
383 static int quad_intercept_v(const SkPoint a[2], SkScalar , SkScalar x, double* roots) { in quad_intercept_v() argument
385 return SkIntersections::VerticalIntercept(quad.set(a), x, roots); in quad_intercept_v()
388 static int conic_intercept_h(const SkPoint a[2], SkScalar w, SkScalar y, double* roots) { in conic_intercept_h() argument
390 return SkIntersections::HorizontalIntercept(conic.set(a, w), y, roots); in conic_intercept_h()
393 static int conic_intercept_v(const SkPoint a[2], SkScalar w, SkScalar x, double* roots) { in conic_intercept_v() argument
395 return SkIntersections::VerticalIntercept(conic.set(a, w), x, roots); in conic_intercept_v()
398 static int cubic_intercept_h(const SkPoint a[3], SkScalar , SkScalar y, double* roots) { in cubic_intercept_h() argument
400 return cubic.set(a).horizontalIntersect(y, roots); in cubic_intercept_h()
403 static int cubic_intercept_v(const SkPoint a[3], SkScalar , SkScalar x, double* roots) { in cubic_intercept_v() argument
405 return cubic.set(a).verticalIntersect(x, roots); in cubic_intercept_v()