Lines Matching refs:rad
60 const SkScalar rad = SkScalarHalf(width); in init_nonaa_stroke_rect_strip() local
62 verts[0].set(rect.fLeft + rad, rect.fTop + rad); in init_nonaa_stroke_rect_strip()
63 verts[1].set(rect.fLeft - rad, rect.fTop - rad); in init_nonaa_stroke_rect_strip()
64 verts[2].set(rect.fRight - rad, rect.fTop + rad); in init_nonaa_stroke_rect_strip()
65 verts[3].set(rect.fRight + rad, rect.fTop - rad); in init_nonaa_stroke_rect_strip()
66 verts[4].set(rect.fRight - rad, rect.fBottom - rad); in init_nonaa_stroke_rect_strip()
67 verts[5].set(rect.fRight + rad, rect.fBottom + rad); in init_nonaa_stroke_rect_strip()
68 verts[6].set(rect.fLeft + rad, rect.fBottom - rad); in init_nonaa_stroke_rect_strip()
69 verts[7].set(rect.fLeft - rad, rect.fBottom + rad); in init_nonaa_stroke_rect_strip()
75 if (2*rad >= rect.width()) { in init_nonaa_stroke_rect_strip()
78 if (2*rad >= rect.height()) { in init_nonaa_stroke_rect_strip()
143 SkScalar rad = SkScalarHalf(fStrokeWidth); in NonAAStrokeRectOp() local
145 bounds.outset(rad, rad); in NonAAStrokeRectOp()