Lines Matching refs:verts
61 could use an indices array, and then only send 8 verts, but not sure that
64 void init_nonaa_stroke_rect_strip(SkPoint verts[10], const SkRect& rect, SkScalar width) {
67 verts[0].set(rect.fLeft + rad, rect.fTop + rad);
68 verts[1].set(rect.fLeft - rad, rect.fTop - rad);
69 verts[2].set(rect.fRight - rad, rect.fTop + rad);
70 verts[3].set(rect.fRight + rad, rect.fTop - rad);
71 verts[4].set(rect.fRight - rad, rect.fBottom - rad);
72 verts[5].set(rect.fRight + rad, rect.fBottom + rad);
73 verts[6].set(rect.fLeft + rad, rect.fBottom - rad);
74 verts[7].set(rect.fLeft - rad, rect.fBottom + rad);
75 verts[8] = verts[0];
76 verts[9] = verts[1];
81 verts[0].fX = verts[2].fX = verts[4].fX = verts[6].fX = verts[8].fX = rect.centerX();
84 verts[0].fY = verts[2].fY = verts[4].fY = verts[6].fY = verts[8].fY = rect.centerY();
216 void* verts =
219 if (!verts) {
224 SkPoint* vertex = reinterpret_cast<SkPoint*>(verts);