Function Widget.applyMargins

Helper function: applies margins to rectangle

void applyMargins(
  ref Rect rc
);