I'd like to resize a group of n-objects -- either circles or rectangles -- all at once and fit them into the newly resized area with newly calculated x,y coordinates and width/height dimensions. The resizing originates in the CENTER of the resized area. It probably helps with some visuals, so please take a quick look at this video:
And here is an image where I'm trying to distill the question as simply as I can. Based on the resizing from the center, I need to know how to calculate the new coordinates and dimensions for "A" "B" and "C" below -- I've given the dimensions of the bounding box, both in its original form, and its resized form.
(I know the x,y width/height of "A" "B" and "C" in the orig box -- they're just not labeled, but you can assume that they're known values)