• Home
  • Raw
  • Download

Lines Matching refs:dx

302     constexpr SkIRect makeOffset(int32_t dx, int32_t dy) const {  in makeOffset()
304 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeOffset()
305 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy), in makeOffset()
334 SkIRect makeInset(int32_t dx, int32_t dy) const { in makeInset()
336 Sk32_sat_add(fLeft, dx), Sk32_sat_add(fTop, dy), in makeInset()
337 Sk32_sat_sub(fRight, dx), Sk32_sat_sub(fBottom, dy), in makeInset()
352 SkIRect makeOutset(int32_t dx, int32_t dy) const { in makeOutset()
354 Sk32_sat_sub(fLeft, dx), Sk32_sat_sub(fTop, dy), in makeOutset()
355 Sk32_sat_add(fRight, dx), Sk32_sat_add(fBottom, dy), in makeOutset()
369 void offset(int32_t dx, int32_t dy) { in offset()
370 fLeft = Sk32_sat_add(fLeft, dx); in offset()
372 fRight = Sk32_sat_add(fRight, dx); in offset()
413 void inset(int32_t dx, int32_t dy) { in inset()
414 fLeft = Sk32_sat_add(fLeft, dx); in inset()
416 fRight = Sk32_sat_sub(fRight, dx); in inset()
430 void outset(int32_t dx, int32_t dy) { this->inset(-dx, -dy); } in outset()
975 constexpr SkRect makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset()
976 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset()
997 SkRect makeInset(SkScalar dx, SkScalar dy) const { in makeInset()
998 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset()
1012 SkRect makeOutset(SkScalar dx, SkScalar dy) const { in makeOutset()
1013 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset()
1026 void offset(SkScalar dx, SkScalar dy) { in offset()
1027 fLeft += dx; in offset()
1029 fRight += dx; in offset()
1070 void inset(SkScalar dx, SkScalar dy) { in inset()
1071 fLeft += dx; in inset()
1073 fRight -= dx; in inset()
1087 void outset(SkScalar dx, SkScalar dy) { this->inset(-dx, -dy); } in outset()