Gets the computed boder rectangle from specified bounds.
Implemented in xtd::forms::style_sheets::control.