Lines Matching refs:rad
65 const SkScalar rad = SkScalarHalf(width); in init_nonaa_stroke_rect_strip() local
67 verts[0].set(rect.fLeft + rad, rect.fTop + rad); in init_nonaa_stroke_rect_strip()
68 verts[1].set(rect.fLeft - rad, rect.fTop - rad); in init_nonaa_stroke_rect_strip()
69 verts[2].set(rect.fRight - rad, rect.fTop + rad); in init_nonaa_stroke_rect_strip()
70 verts[3].set(rect.fRight + rad, rect.fTop - rad); in init_nonaa_stroke_rect_strip()
71 verts[4].set(rect.fRight - rad, rect.fBottom - rad); in init_nonaa_stroke_rect_strip()
72 verts[5].set(rect.fRight + rad, rect.fBottom + rad); in init_nonaa_stroke_rect_strip()
73 verts[6].set(rect.fLeft + rad, rect.fBottom - rad); in init_nonaa_stroke_rect_strip()
74 verts[7].set(rect.fLeft - rad, rect.fBottom + rad); in init_nonaa_stroke_rect_strip()
80 if (2*rad >= rect.width()) { in init_nonaa_stroke_rect_strip()
83 if (2*rad >= rect.height()) { in init_nonaa_stroke_rect_strip()
139 SkScalar rad = SkScalarHalf(fStrokeWidth); in NonAAStrokeRectOp() local
141 bounds.outset(rad, rad); in NonAAStrokeRectOp()