• Home
  • Raw
  • Download

Lines Matching refs:yAxis

276         bool yAxis, SkGlyph::Intercept* intercept) {  in AddPoints()  argument
278 SkScalar val = *(&pts[i].fY - yAxis); in AddPoints()
280 AddInterval(*(&pts[i].fX + yAxis), intercept); in AddPoints()
285 void SkStrike::AddLine(const SkPoint pts[2], SkScalar axis, bool yAxis, in AddLine() argument
287 SkScalar t = yAxis ? sk_ieee_float_divide(axis - pts[0].fX, pts[1].fX - pts[0].fX) in AddLine()
290 AddInterval(yAxis ? pts[0].fY + t * (pts[1].fY - pts[0].fY) in AddLine()
295 void SkStrike::AddQuad(const SkPoint pts[3], SkScalar axis, bool yAxis, in AddQuad() argument
300 int count = yAxis ? quad.verticalIntersect(axis, roots) in AddQuad()
304 AddInterval(*(&pt.fX + yAxis), intercept); in AddQuad()
308 void SkStrike::AddCubic(const SkPoint pts[4], SkScalar axis, bool yAxis, in AddCubic() argument
313 int count = yAxis ? cubic.verticalIntersect(axis, roots) in AddCubic()
317 AddInterval(*(&pt.fX + yAxis), intercept); in AddCubic()
337 bool yAxis, SkGlyph* glyph, SkScalar* array, int* count) { in findIntercepts() argument
356 if (*(&pathBounds.fBottom - yAxis) < bounds[0] || bounds[1] < *(&pathBounds.fTop - yAxis)) { in findIntercepts()
367 AddLine(pts, bounds[0], yAxis, intercept); in findIntercepts()
368 AddLine(pts, bounds[1], yAxis, intercept); in findIntercepts()
369 AddPoints(pts, 2, bounds, yAxis, intercept); in findIntercepts()
372 if (!quad_in_bounds(&pts[0].fY - yAxis, bounds)) { in findIntercepts()
375 AddQuad(pts, bounds[0], yAxis, intercept); in findIntercepts()
376 AddQuad(pts, bounds[1], yAxis, intercept); in findIntercepts()
377 AddPoints(pts, 3, bounds, yAxis, intercept); in findIntercepts()
383 if (!cubic_in_bounds(&pts[0].fY - yAxis, bounds)) { in findIntercepts()
386 AddCubic(pts, bounds[0], yAxis, intercept); in findIntercepts()
387 AddCubic(pts, bounds[1], yAxis, intercept); in findIntercepts()
388 AddPoints(pts, 4, bounds, yAxis, intercept); in findIntercepts()