| Index: src/pathops/SkDQuadLineIntersection.cpp
|
| diff --git a/src/pathops/SkDQuadLineIntersection.cpp b/src/pathops/SkDQuadLineIntersection.cpp
|
| index 64eb86848e8270f24ece2815fab87a47c43fd3fc..a3d10bc9ff108a09bedba6ae4c2dace2bee7b487 100644
|
| --- a/src/pathops/SkDQuadLineIntersection.cpp
|
| +++ b/src/pathops/SkDQuadLineIntersection.cpp
|
| @@ -442,3 +442,13 @@ int SkIntersections::VerticalIntercept(const SkDQuad& quad, SkScalar x, double*
|
| LineQuadraticIntersections q(quad);
|
| return q.verticalIntersect(x, roots);
|
| }
|
| +
|
| +// SkDQuad accessors to Intersection utilities
|
| +
|
| +int SkDQuad::horizontalIntersect(double yIntercept, double roots[2]) const {
|
| + return SkIntersections::HorizontalIntercept(*this, yIntercept, roots);
|
| +}
|
| +
|
| +int SkDQuad::verticalIntersect(double xIntercept, double roots[2]) const {
|
| + return SkIntersections::VerticalIntercept(*this, xIntercept, roots);
|
| +}
|
|
|