Function grid

Source
fn grid(p: &Painter, rect: Rect, org: Pos2, z: f32, palette: &Palette)