Function layout_2013::display_list::background::compute_background_image_size
source ยท fn compute_background_image_size(
bg_size: &BackgroundSize,
bounds_size: Size2D<Au>,
intrinsic_size: Option<Size2D<Au>>,
) -> Size2D<Au>
Expand description
For a given area and an image compute how big the image should be displayed on the background.