Lines Matching refs:uWidth
201 SkScalar uPos, SkScalar uWidth, SkScalar textSize) { in create_underline() argument
205 SkScalar start = intersections[index] - uWidth;; in create_underline()
206 end = intersections[index + 1] + uWidth; in create_underline()
221 const SkPaint& paint, SkScalar uWidth, SkTDArray<SkScalar>* intersections) { in find_intercepts() argument
222 SkScalar uPos = y + uWidth; in find_intercepts()
223 SkScalar bounds[2] = { uPos - uWidth / 2, uPos + uWidth / 2 }; in find_intercepts()
242 const SkScalar uWidth = textSize / 15; variable
243 paint.setStrokeWidth(uWidth);
248 find_intercepts(test, sizeof(test) - 1, textPt.fX, textPt.fY, paint, uWidth,
253 SkScalar uPos = textPt.fY + uWidth;
254 SkPath underline = create_underline(intersections, start, end, uPos, uWidth, textSize);
265 SkScalar uWidth, SkTDArray<SkScalar>* intersections) { in find_intercepts() argument
266 SkScalar uPos = pos[0].fY + uWidth; in find_intercepts()
267 SkScalar bounds[2] = { uPos - uWidth / 2, uPos + uWidth / 2 }; in find_intercepts()
286 const SkScalar uWidth = textSize / 15; variable
287 paint.setStrokeWidth(uWidth);
304 find_intercepts(test, sizeof(test) - 1, pos.begin(), paint, uWidth, &intersections);
308 SkScalar uPos = textPt.fY + uWidth;
309 SkPath underline = create_underline(intersections, start, end, uPos, uWidth, textSize);
397 const SkScalar uWidth = textSize / 15; variable
398 paint.setStrokeWidth(uWidth);
404 const SkScalar uPos = uWidth;
405 const SkScalar bounds[2] = { uPos - uWidth / 2, uPos + uWidth / 2 };
415 SkPath underline = create_underline(intercepts, start, end, uPos, uWidth, textSize);
435 SkScalar uWidth = textSize / 15; variable
436 paint.setStrokeWidth(uWidth);
455 find_intercepts(test, sizeof(test) - 1, pos.begin(), paint, uWidth, &intersections);
459 SkScalar uPos = pos[0].fY + uWidth;
460 SkPath underline = create_underline(intersections, start, end, uPos, uWidth, textSize);