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