pub fn tiles(device: Rect, width: u32, height: u32) -> Vec<Rect>
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.
width
height