Andrew Eikum : gdiplus: Create utility function get_graphics_bounds.