Lines Matching defs:radii
1265 // round-rect radii
2812 SkVector radii[] = {{1, 2}, {3, 4}, {5, 6}, {7, 8}};
2814 rr.setRectRadii(r, radii);
2819 p.addRoundRect(r, &radii[0].fX);
2821 p.addRoundRect(r, &radii[0].fX, SkPath::kCCW_Direction);
2823 p.addRoundRect(r, radii[1].fX, radii[1].fY);
2825 p.addRoundRect(r, radii[1].fX, radii[1].fY, SkPath::kCCW_Direction);
2827 for (size_t i = 0; i < SK_ARRAY_COUNT(radii); ++i) {
2828 SkVector save = radii[i];
2829 radii[i].set(0, 0);
2830 rr.setRectRadii(r, radii);
2833 radii[i] = save;
2858 rr.setRectRadii(emptyR, radii);
2862 rr.setRectRadii(largeR, radii);
2866 rr.setRectRadii(infR, radii);