[][src]Function azul_core::display_list::subtract_padding

pub fn subtract_padding(
    size: &LayoutSize,
    padding: &ResolvedOffsets
) -> LayoutSize

Subtracts the padding from the size, returning the new size

Warning: The resulting rectangle may have negative width or height