Lines Matching refs:yAxis
298 bool yAxis, SkGlyph::Intercept* intercept) { in AddPoints() argument
300 SkScalar val = *(&pts[i].fY - yAxis); in AddPoints()
302 AddInterval(*(&pts[i].fX + yAxis), intercept); in AddPoints()
307 void SkStrike::AddLine(const SkPoint pts[2], SkScalar axis, bool yAxis, in AddLine() argument
309 SkScalar t = yAxis ? sk_ieee_float_divide(axis - pts[0].fX, pts[1].fX - pts[0].fX) in AddLine()
312 AddInterval(yAxis ? pts[0].fY + t * (pts[1].fY - pts[0].fY) in AddLine()
317 void SkStrike::AddQuad(const SkPoint pts[3], SkScalar axis, bool yAxis, in AddQuad() argument
322 int count = yAxis ? quad.verticalIntersect(axis, roots) in AddQuad()
326 AddInterval(*(&pt.fX + yAxis), intercept); in AddQuad()
330 void SkStrike::AddCubic(const SkPoint pts[4], SkScalar axis, bool yAxis, in AddCubic() argument
335 int count = yAxis ? cubic.verticalIntersect(axis, roots) in AddCubic()
339 AddInterval(*(&pt.fX + yAxis), intercept); in AddCubic()
359 bool yAxis, SkGlyph* glyph, SkScalar* array, int* count) { in findIntercepts() argument
378 if (*(&pathBounds.fBottom - yAxis) < bounds[0] || bounds[1] < *(&pathBounds.fTop - yAxis)) { in findIntercepts()
389 AddLine(pts, bounds[0], yAxis, intercept); in findIntercepts()
390 AddLine(pts, bounds[1], yAxis, intercept); in findIntercepts()
391 AddPoints(pts, 2, bounds, yAxis, intercept); in findIntercepts()
394 if (!quad_in_bounds(&pts[0].fY - yAxis, bounds)) { in findIntercepts()
397 AddQuad(pts, bounds[0], yAxis, intercept); in findIntercepts()
398 AddQuad(pts, bounds[1], yAxis, intercept); in findIntercepts()
399 AddPoints(pts, 3, bounds, yAxis, intercept); in findIntercepts()
405 if (!cubic_in_bounds(&pts[0].fY - yAxis, bounds)) { in findIntercepts()
408 AddCubic(pts, bounds[0], yAxis, intercept); in findIntercepts()
409 AddCubic(pts, bounds[1], yAxis, intercept); in findIntercepts()
410 AddPoints(pts, 4, bounds, yAxis, intercept); in findIntercepts()