Bounding Box for Rotated Graphics

Quick question which is giving me difficulty, but I’m probably missing something…

How would I create a bounding box for any graphic, which can accommodate the graphic while bring rotated?

Simply making a square with the maximum of width or height doesn’t cut it… think for example holding a T…

Thanks!