Enlarge or shrink the rectangle size & center by a given scale. If w & h are given, will make sure the rectangle stays within the bounds if it is enlarged too much. Note that for images, w should be (width-1) and h should be (height-1).
source not stored for this graph (policy: none)