Lines Matching refs:rad
65 const SkScalar rad = SkScalarHalf(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);
80 if (2*rad >= rect.width()) {
83 if (2*rad >= rect.height()) {
139 SkScalar rad = SkScalarHalf(fStrokeWidth);
141 bounds.outset(rad, rad);