Lines Matching refs:dy
292 SkIRect makeOffset(int32_t dx, int32_t dy) const { in makeOffset()
294 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeOffset()
295 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy), in makeOffset()
310 SkIRect makeInset(int32_t dx, int32_t dy) const { in makeInset()
312 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeInset()
313 Sk32_sat_sub(fRight, dx), Sk32_sat_sub(fBottom, dy), in makeInset()
328 SkIRect makeOutset(int32_t dx, int32_t dy) const { in makeOutset()
330 Sk32_sat_sub(fLeft, dx), Sk32_sat_sub(fTop, dy), in makeOutset()
331 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy), in makeOutset()
345 void offset(int32_t dx, int32_t dy) { in offset()
347 fTop = Sk32_sat_add(fTop, dy); in offset()
349 fBottom = Sk32_sat_add(fBottom, dy); in offset()
389 void inset(int32_t dx, int32_t dy) { in inset()
391 fTop = Sk32_sat_add(fTop, dy); in inset()
393 fBottom = Sk32_sat_sub(fBottom, dy); in inset()
406 void outset(int32_t dx, int32_t dy) { this->inset(-dx, -dy); } in outset()
1128 SkRect makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset()
1129 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset()
1143 SkRect makeInset(SkScalar dx, SkScalar dy) const { in makeInset()
1144 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset()
1158 SkRect makeOutset(SkScalar dx, SkScalar dy) const { in makeOutset()
1159 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset()
1172 void offset(SkScalar dx, SkScalar dy) { in offset()
1174 fTop += dy; in offset()
1176 fBottom += dy; in offset()
1216 void inset(SkScalar dx, SkScalar dy) { in inset()
1218 fTop += dy; in inset()
1220 fBottom -= dy; in inset()
1233 void outset(SkScalar dx, SkScalar dy) { this->inset(-dx, -dy); } in outset()