Shift the rect by (dx, dy).
(dx, dy)
The rectangle to process.
The horizontal offset.
The vertical offset.
The resulting Rect.
Shift the rect by
(dx, dy).