Home
last modified time | relevance | path

Searched refs:mem_clip_w (Results 1 – 14 of 14) sorted by relevance

/dports/graphics/mtpaint/mtPaint-4ea607e/src/
H A Dpolygon.c177 poly_draw(TRUE, mem_clip_mask, mem_clip_w); in poly_mask()
220 mem_clip_mask[ x + y*mem_clip_w ] = 1; in flood_fill_poly()
228 mem_clip_mask[ minx + y*mem_clip_w ] = 1; in flood_fill_poly()
238 if ( maxx >= mem_clip_w ) ended = 1; in flood_fill_poly()
242 mem_clip_mask[ maxx + y*mem_clip_w ] = 1; in flood_fill_poly()
265 mem_clip_mask[ x + y*mem_clip_w ] = 1; in flood_fill24_poly()
273 mem_clip_mask[ minx + y*mem_clip_w ] = 1; in flood_fill24_poly()
283 if ( maxx >= mem_clip_w ) ended = 1; in flood_fill24_poly()
324 j = mem_clipboard[x + y*mem_clip_w]; in poly_lasso()
329 i = 3*(x + y*mem_clip_w); in poly_lasso()
[all …]
H A Dcanvas.c309 image += mem_clip_w * mem_clip_bpp; in commit_paste()
310 ofs += mem_clip_w; in commit_paste()
758 int i, j = mem_clip_w * mem_clip_h, k; in do_clip_alphamask()
1015 for (j = 0; j < mem_clip_w; j++) in channel_mask()
1018 delta += mem_clip_w; in channel_mask()
1033 sb_rect[2] = mem_clip_w; in cut_clip()
1057 offs = mem_clip_w * j; in trim_clip()
1058 for (i = 0; i < mem_clip_w; i++) in trim_clip()
1080 offs = j * mem_clip_w + minx; in trim_clip()
3167 marq_x1 = marq_x1 < 1 - mem_clip_w ? 1 - mem_clip_w : in check_marquee()
[all …]
H A Dinfo.c329 mem_clip_w, mem_clip_h); in pressed_information()
331 ((size_t)mem_clip_w * mem_clip_h * mem_clip_bpp) / in pressed_information()
H A Dlayer.c981 if (!layer_add(mem_clip_w, mem_clip_h, mem_clip_bpp, mem_cols, mem_pal, in pressed_paste_layer()
991 j = mem_clip_w * mem_clip_h; in pressed_paste_layer()
H A Dotherwindow.c113 mem_clip_w, mem_clip_h, mem_clip_bpp, cmask); in clip_to_layer()
114 if (undo) undo_next_core(UC_DELETE, mem_clip_w, mem_clip_h, in clip_to_layer()
713 do_transform(0, 1, mem_clip_w * mem_clip_h, NULL, in brcosa_btn()
2724 case 3: if (mem_clipboard) w = mem_clip_w , h = mem_clip_h; in bkg_evt()
H A Dmainwindow.c440 settings->width = mem_clip_w; in setup_clip_save()
2426 int dc = mem_clip_w * (y - marq_y1) + p->dx - marq_x1; in paste_render()
4409 dt->dx = mem_clip_w - 1; break; in align_evt()
4415 dt->dx = mem_clip_w / 2; dt->dy = mem_clip_h / 2; break; in align_evt()
4470 tdata.x += tdata.dx = mem_clip_w / 2; in script_paste()
5065 mem_clip_w, mem_clip_h, mem_clip_bpp, mem_clip_w); in pressed_pal_copy()
H A Dmemory.h364 #define mem_clip_w mem_clip.width macro
H A Dmemory.c3926 n = mem_clip_w * mem_clip_h; in mem_prepare_map()
5225 int i, j = mem_clip_w * mem_clip_h, bpp = mem_clip_bpp; in mem_sel_rot()
5232 mem_rotate(buf, mem_clip.img[i], mem_clip_w, mem_clip_h, dir, bpp); in mem_sel_rot()
5241 i = mem_clip_w; in mem_sel_rot()
5242 mem_clip_w = mem_clip_h; // Flip geometry in mem_sel_rot()
5513 ow = mem_clip_w; in mem_rotate_free()
8962 int j = mem_clip_w*mem_clip_h; in mem_clip_mask_init()
9019 mem_clip_w, mem_clip_h, mem_clip_bpp, aa, bb); in mem_clip_mask_set()
/dports/graphics/rgbpaint/rgbpaint-0.8.7/src/
H A Dcanvas.c84 if (marq_y1 < 0) ofs -= marq_y1 * mem_clip_w; in commit_paste()
93 image += mem_clip_w * mem_clip_bpp; in commit_paste()
94 ofs += mem_clip_w; in commit_paste()
131 marq_x2 = mem_clip_x + mem_clip_w - 1; in pressed_paste()
153 marq_x1 = mem_width * mem_icx - mem_clip_w * 0.5; in pressed_paste_centre()
155 marq_x2 = marq_x1 + mem_clip_w - 1; in pressed_paste_centre()
192 mem_clip_w = w; in copy_clip()
221 for (j = 0; j < mem_clip_w; j++ , sel += step) in cut_clip()
860 marq_x2 = marq_x1 + mem_clip_w - 1; in tool_action()
1018 mtMAX( marq_x1, marq_x1, 1-mem_clip_w ) in check_marquee()
[all …]
H A Dmemory.h91 int mem_clip_w, mem_clip_h; // Clipboard geometry variable
H A Dpng.c233 mem_clip_w = w; in load_clipboard()
H A Dviewer.c430 mem_clip_w = width; in render_text()
H A Dmemory.c54 int mem_clip_w = -1, mem_clip_h = -1; // Clipboard geometry variable
1357 int j = mem_clip_w*mem_clip_h; in mem_clip_mask_init()
H A Dmainwindow.c1160 dc = mem_clip_w * (j - marq_y1) + dx - marq_x1; in repaint_paste()