Home
last modified time | relevance | path

Searched refs:BRUSH_CELL (Results 1 – 4 of 4) sorted by relevance

/dports/graphics/mtpaint/mtPaint-4ea607e/src/
H A Dtoolbar.c899 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)
H A Dmemory.h396 #define BRUSH_CELL 36 macro
400 #define PATCH_WIDTH (BRUSH_CELL * BRUSH_GRID_W)
401 #define PATCH_HEIGHT (BRUSH_CELL * BRUSH_GRID_H)
H A Dmemory.c2014 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()
H A Dotherwindow.c442 tdata.xs = tdata.ys = BRUSH_CELL; in choose_pattern()