Expands or shrinks the frame by the given margin along coordinate axes.
frame: input coordinate frame
frame
size: input size
size
margin: The amount of expansion in world coordinates. A negative value shrinks the frame.
margin
frame: output coordinate frame
size: output size