• Home
  • Raw
  • Download

Lines Matching refs:dy

165     SkIRect makeOffset(int32_t dx, int32_t dy) const {  in makeOffset()
166 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset()
172 SkIRect makeInset(int32_t dx, int32_t dy) const { in makeInset()
173 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset()
179 SkIRect makeOutset(int32_t dx, int32_t dy) const { in makeOutset()
180 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset()
186 void offset(int32_t dx, int32_t dy) { in offset()
188 fTop += dy; in offset()
190 fBottom += dy; in offset()
211 void inset(int32_t dx, int32_t dy) { in inset()
213 fTop += dy; in inset()
215 fBottom -= dy; in inset()
223 void outset(int32_t dx, int32_t dy) { this->inset(-dx, -dy); } in outset()
633 SkRect makeOffset(SkScalar dx, SkScalar dy) const { in makeOffset()
634 return MakeLTRB(fLeft + dx, fTop + dy, fRight + dx, fBottom + dy); in makeOffset()
640 SkRect makeInset(SkScalar dx, SkScalar dy) const { in makeInset()
641 return MakeLTRB(fLeft + dx, fTop + dy, fRight - dx, fBottom - dy); in makeInset()
647 SkRect makeOutset(SkScalar dx, SkScalar dy) const { in makeOutset()
648 return MakeLTRB(fLeft - dx, fTop - dy, fRight + dx, fBottom + dy); in makeOutset()
654 void offset(SkScalar dx, SkScalar dy) { in offset()
656 fTop += dy; in offset()
658 fBottom += dy; in offset()
680 void inset(SkScalar dx, SkScalar dy) { in inset()
682 fTop += dy; in inset()
684 fBottom -= dy; in inset()
692 void outset(SkScalar dx, SkScalar dy) { this->inset(-dx, -dy); } in outset()