Home | History | Annotate | Download | only in gm

Lines Matching full:intersections

18 static SkPath create_underline(const SkTDArray<SkScalar>& intersections,
23 for (int index = 0; index < intersections.count(); index += 2) {
24 SkScalar start = intersections[index] - uWidth;;
25 end = intersections[index + 1] + uWidth;
40 const SkPaint& paint, SkScalar uWidth, SkTDArray<SkScalar>* intersections) {
46 intersections->setCount(count);
47 paint.getTextIntercepts(test, len, x, y, bounds, intersections->begin());
66 SkTDArray<SkScalar> intersections;
68 &intersections);
73 SkPath underline = create_underline(intersections, start, end, uPos, uWidth, textSize);
84 SkScalar uWidth, SkTDArray<SkScalar>* intersections) {
90 intersections->setCount(count);
91 paint.getPosTextIntercepts(test, len, pos, bounds, intersections->begin());
122 SkTDArray<SkScalar> intersections;
123 find_intercepts(test, sizeof(test) - 1, pos.begin(), paint, uWidth, &intersections);
128 SkPath underline = create_underline(intersections, start, end, uPos, uWidth, textSize);
273 SkTDArray<SkScalar> intersections;
274 find_intercepts(test, sizeof(test) - 1, pos.begin(), paint, uWidth, &intersections);
279 SkPath underline = create_underline(intersections, start, end, uPos, uWidth, textSize);