Function layout_2020::display_list::background::layout_1d

source ·
fn layout_1d(
    tile_size: &mut f32,
    repeat: BackgroundRepeatKeyword,
    position: &LengthPercentage,
    painting_area_origin: f32,
    painting_area_size: f32,
    positioning_area_size: f32,
) -> Layout1DResult
Expand description

Abstract over the horizontal or vertical dimension Coordinates (0, 0) for the purpose of this function are the positioning area’s origin.