Skip to main content

tiles

Function tiles 

Source
pub fn tiles(device: Rect, width: u32, height: u32) -> Vec<Rect>
Expand description

The device cut into tiles of width columns by height rows from its corner, row by row, the last of each row and column clipped to the device.