Searched refs:squares_per_row (Results 1 – 1 of 1) sorted by relevance
177 lwCanvas *lwDrawSchotter(int console_cols, int squares_per_row, int squares_per_col) { in lwDrawSchotter() argument181 float square_side = (float)(canvas_width-padding*2) / squares_per_row; in lwDrawSchotter()186 for (int x = 0; x < squares_per_row; x++) { in lwDrawSchotter()248 long squares_per_row = 8; in lolwut5Command() local257 getLongFromObjectOrReply(c,c->argv[2],&squares_per_row,NULL) != C_OK) in lolwut5Command()268 if (squares_per_row < 1) squares_per_row = 1; in lolwut5Command()269 if (squares_per_row > 200) squares_per_row = 200; in lolwut5Command()274 lwCanvas *canvas = lwDrawSchotter(cols,squares_per_row,squares_per_col); in lolwut5Command()