glooey.drawing.grid.make_grid

glooey.drawing.grid.make_grid(rect, cells={}, num_rows=0, num_cols=0, padding=None, inner_padding=None, outer_padding=None, row_heights={}, col_widths={}, default_row_height='expand', default_col_width='expand')[source]

Return rectangles for each cell in the specified grid. The rectangles are returned in a dictionary where the keys are (row, col) tuples.