Skip to main content

solium_layout_grid

Function solium_layout_grid 

Source
#[unsafe(no_mangle)]
pub extern "C" fn solium_layout_grid( count: u32, x: f64, y: f64, w: f64, h: f64, padding: f64, ) -> u32
Expand description

The grid, given each window’s own rectangle in the scratch buffer.

Written in, read out of the same place: the caller fills the scratch with count rectangles, calls this, and reads the arrangement back from it.