Home
last modified time | relevance | path

Searched refs:mem_clip_h (Results 1 – 13 of 13) sorted by relevance

/dports/graphics/mtpaint/mtPaint-4ea607e/src/
H A Dpolygon.c254 if ( (y+1) < mem_clip_h ) // Recurse downwards in flood_fill_poly()
299 if ( (y+1) < mem_clip_h ) // Recurse downwards in flood_fill24_poly()
318 if ((x < 0) || (x >= mem_clip_w) || (y < 0) || (y >= mem_clip_h)) in poly_lasso()
334 j = mem_clip_w*mem_clip_h; in poly_lasso()
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 Dcanvas.c316 if ((fw - mem_clip_w) | (fh - mem_clip_h)) in commit_paste()
758 int i, j = mem_clip_w * mem_clip_h, k; in do_clip_alphamask()
887 marq_y1 = mem_height * mem_icy - mem_clip_h * 0.5; in pressed_paste()
1013 for (i = 0; i < mem_clip_h; i++) in channel_mask()
1034 sb_rect[3] = mem_clip_h; in cut_clip()
1037 for (i = 0; i < mem_clip_h; i++) in cut_clip()
1055 for (j = 0; j < mem_clip_h; j++) in trim_clip()
1075 if ((nw == mem_clip_w) && (nh == mem_clip_h)) return; in trim_clip()
1153 int i, j = mem_clip_w * mem_clip_h; in pressed_lasso()
3169 marq_y1 = marq_y1 < 1 - mem_clip_h ? 1 - mem_clip_h : in check_marquee()
[all …]
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 Dmemory.h365 #define mem_clip_h mem_clip.height macro
H A Dmainwindow.c441 settings->height = mem_clip_h; in setup_clip_save()
4413 dt->dy = mem_clip_h - 1; break; in align_evt()
4415 dt->dx = mem_clip_w / 2; dt->dy = mem_clip_h / 2; break; in align_evt()
4471 tdata.y += tdata.dy = mem_clip_h / 2; in script_paste()
5065 mem_clip_w, mem_clip_h, mem_clip_bpp, mem_clip_w); in pressed_pal_copy()
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()
5242 mem_clip_w = mem_clip_h; // Flip geometry in mem_sel_rot()
5243 mem_clip_h = i; in mem_sel_rot()
5514 oh = mem_clip_h; 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.c132 marq_y2 = mem_clip_y + mem_clip_h - 1; in pressed_paste()
154 marq_y1 = mem_height * mem_icy - mem_clip_h * 0.5; in pressed_paste_centre()
156 marq_y2 = marq_y1 + mem_clip_h - 1; in pressed_paste_centre()
193 mem_clip_h = h; in copy_clip()
218 for (i = 0; i < mem_clip_h; i++) in cut_clip()
861 marq_y2 = marq_y1 + mem_clip_h - 1; in tool_action()
1019 mtMAX( marq_y1, marq_y1, 1-mem_clip_h ) in check_marquee()
1023 marq_y2 = marq_y1 + mem_clip_h - 1; in check_marquee()
H A Dmemory.h91 int mem_clip_w, mem_clip_h; // Clipboard geometry variable
H A Dpng.c234 mem_clip_h = h; in load_clipboard()
H A Dviewer.c431 mem_clip_h = height; 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()