offset_r
Description:
Offsets the origin of the given rectangle by d_x
and d_y
.
The size of the rectangle is left unchanged.
Parameters:
this |
a Rect |
d_x |
the horizontal offset |
d_y |
the vertical offset |
res |
return location for the offset rectangle |