Lines Matching refs:iRect
217 // This method outsets 'iRect' by 'outset' all around and then clamps its extents to
219 // of 'iRect' for all possible outsets/clamps.
220 inline void clamped_outset_with_offset(SkIRect* iRect, int outset, SkPoint* offset,
222 iRect->outset(outset, outset);
224 int leftClampDelta = clamp.fLeft - iRect->fLeft;
227 iRect->fLeft = clamp.fLeft;
232 int topClampDelta = clamp.fTop - iRect->fTop;
235 iRect->fTop = clamp.fTop;
240 if (iRect->fRight > clamp.fRight) {
241 iRect->fRight = clamp.fRight;
243 if (iRect->fBottom > clamp.fBottom) {
244 iRect->fBottom = clamp.fBottom;