Lines Matching refs:axisIntercept
167 static int HorizontalIntersect(const SkDCubic& c, double axisIntercept, double roots[3]) { in HorizontalIntersect() argument
170 D -= axisIntercept; in HorizontalIntersect()
174 if (!approximately_equal(calcPt.fY, axisIntercept)) { in HorizontalIntersect()
177 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kYAxis, roots); in HorizontalIntersect()
184 int horizontalIntersect(double axisIntercept, double left, double right, bool flipped) { in horizontalIntersect() argument
185 addExactHorizontalEndPoints(left, right, axisIntercept); in horizontalIntersect()
187 addNearHorizontalEndPoints(left, right, axisIntercept); in horizontalIntersect()
190 int count = HorizontalIntersect(fCubic, axisIntercept, roots); in horizontalIntersect()
193 SkDPoint pt = { fCubic.ptAtT(cubicT).fX, axisIntercept }; in horizontalIntersect()
230 static int VerticalIntersect(const SkDCubic& c, double axisIntercept, double roots[3]) { in VerticalIntersect() argument
233 D -= axisIntercept; in VerticalIntersect()
237 if (!approximately_equal(calcPt.fX, axisIntercept)) { in VerticalIntersect()
240 count = c.searchRoots(extremeTs, extrema, axisIntercept, SkDCubic::kXAxis, roots); in VerticalIntersect()
247 int verticalIntersect(double axisIntercept, double top, double bottom, bool flipped) { in verticalIntersect() argument
248 addExactVerticalEndPoints(top, bottom, axisIntercept); in verticalIntersect()
250 addNearVerticalEndPoints(top, bottom, axisIntercept); in verticalIntersect()
253 int count = VerticalIntersect(fCubic, axisIntercept, roots); in verticalIntersect()
256 SkDPoint pt = { axisIntercept, fCubic.ptAtT(cubicT).fY }; in verticalIntersect()