Offsets the origin by d_x and d_y.
d_x
d_y
The size of the rectangle is unchanged.
a Rect
the horizontal offset
the vertical offset
the offset rectangle