scale
Description:
Scales the size and origin of a rectangle horizontaly by s_h
, and vertically by s_v
.
The result res
is normalized.
Parameters:
this |
a Rect |
s_h |
horizontal scale factor |
s_v |
vertical scale factor |
res |
return location for the scaled rectangle |