Lines Matching defs:intersections
232 static SkPath create_underline(const SkTDArray<SkScalar>& intersections,
237 for (int index = 0; index < intersections.count(); index += 2) {
238 SkScalar start = intersections[index] - uWidth;;
239 end = intersections[index + 1] + uWidth;
254 const SkPaint& paint, SkScalar uWidth, SkTDArray<SkScalar>* intersections) {
260 intersections->setCount(count);
261 paint.getTextIntercepts(test, len, x, y, bounds, intersections->begin());
280 SkTDArray<SkScalar> intersections;
282 &intersections);
287 SkPath underline = create_underline(intersections, start, end, uPos, uWidth, textSize);
298 SkScalar uWidth, SkTDArray<SkScalar>* intersections) {
304 intersections->setCount(count);
305 paint.getPosTextIntercepts(test, len, pos, bounds, intersections->begin());
336 SkTDArray<SkScalar> intersections;
337 find_intercepts(test, sizeof(test) - 1, pos.begin(), paint, uWidth, &intersections);
342 SkPath underline = create_underline(intersections, start, end, uPos, uWidth, textSize);
379 SkTDArray<SkScalar> intersections;
380 find_intercepts(test, sizeof(test) - 1, pos.begin(), paint, uWidth, &intersections);
385 SkPath underline = create_underline(intersections, start, end, uPos, uWidth, textSize);