Searched refs:square_side (Results 1 – 1 of 1) sorted by relevance
181 float square_side = (float)(canvas_width-padding*2) / squares_per_row; in lwDrawSchotter() local182 int canvas_height = square_side * squares_per_col + padding*2; in lwDrawSchotter()187 int sx = x * square_side + square_side/2 + padding; in lwDrawSchotter()188 int sy = y * square_side + square_side/2 + padding; in lwDrawSchotter()200 sx += r2*square_side/3; in lwDrawSchotter()201 sy += r3*square_side/3; in lwDrawSchotter()203 lwDrawSquare(canvas,sx,sy,square_side,angle); in lwDrawSchotter()