Skip to main content

grid_pos

Function grid_pos 

Source
pub fn grid_pos(x: i32, y: i32) -> Pos2
Expand description

The world-space position of a grid cell’s corner, for the places that author canvas coordinates in whole cells.