Searched refs:BRUSH_CELL (Results 1 – 4 of 4) sorted by relevance
899 offset = 3 * (2 + BRUSH_CELL * (val % BRUSH_GRID_W) + in mem_set_brush()900 2 * PATCH_WIDTH + BRUSH_CELL * (val / BRUSH_GRID_W) * PATCH_WIDTH); in mem_set_brush()902 for (j = 0; j < BRUSH_CELL - 2 * 2; j++) in mem_set_brush()907 memcpy(mem_prev + o, mem_brushes + o2, (BRUSH_CELL - 2 * 2) * 3); in mem_set_brush()911 #if (PREVIEW_BRUSH_X + BRUSH_CELL - 2 * 2 > PREVIEW_WIDTH) || \912 (PREVIEW_BRUSH_Y + BRUSH_CELL - 2 * 2 > PREVIEW_HEIGHT)
396 #define BRUSH_CELL 36 macro400 #define PATCH_WIDTH (BRUSH_CELL * BRUSH_GRID_W)401 #define PATCH_HEIGHT (BRUSH_CELL * BRUSH_GRID_H)
2014 ix = BRUSH_CELL / 2 + BRUSH_CELL * (i % BRUSH_GRID_W); in mem_init()2015 iy = BRUSH_CELL / 2 + BRUSH_CELL * (i / BRUSH_GRID_W); in mem_init()
442 tdata.xs = tdata.ys = BRUSH_CELL; in choose_pattern()