/dports/graphics/mtpaint/mtPaint-4ea607e/src/ |
H A D | polygon.c | 272 if ( MEM_2_INT(mem_clipboard, 3*(minx + mem_clip_w*y) ) == target ) in flood_fill24_poly() 286 if ( MEM_2_INT(mem_clipboard, 3*(maxx + mem_clip_w*y) ) == target ) in flood_fill24_poly() 295 if ( MEM_2_INT(mem_clipboard, 3*(newx + mem_clip_w*(y-1)) ) == target in flood_fill24_poly() 301 if ( MEM_2_INT(mem_clipboard, 3*(newx + mem_clip_w*(y+1)) ) == target in flood_fill24_poly() 330 j = MEM_2_INT(mem_clipboard, i); in poly_lasso()
|
H A D | cpick.c | 290 dt->pal[col] = ini_col = MEM_2_INT(set, 0); in cpick_rgba_at() 324 set_colour(dt, MEM_2_INT(set, 0), set[3]); in cpick_rgba_at() 380 ini_col = MEM_2_INT(rgba, 0); in cpick_area_mouse() 407 cmd_setv(where, (void *)MEM_2_INT(drag_rgba, 0), DRAG_ICON_RGB); in cpick_drag_get() 570 MEM_2_INT(rgb, 0); // self-updating in dropper_grab_colour()
|
H A D | otherwindow.c | 1128 color[2] = color[0] = MEM_2_INT(c, 0); in colsel_show_idx() 1172 mem_pal_ab_c = MEM_2_INT(v->rgb, 6); in do_AB() 1173 mem_pal_id_c = MEM_2_INT(v->rgb, 9); in do_AB() 1180 csel_data->center = MEM_2_INT(rgb, 0); in set_csel() 1181 csel_data->limit = MEM_2_INT(rgb, 3); in set_csel() 1182 csel_preview = MEM_2_INT(rgb, 6); in set_csel() 1197 grid_rgb[i] = MEM_2_INT(rgb, 0); in set_grid() 2206 dt->crgb[0] = dt->crgb[2] = MEM_2_INT(gp, 0); in ged_event() 2235 dt->crgb[0] = MEM_2_INT(dt->rgb, n * 3); in ged_event()
|
H A D | viewer.c | 646 if (MEM_2_INT(src, j * 3) == xpm) buf[j] = 0; in collect_alpha() 938 ppix = MEM_2_INT(rgb, ofs * 3); in vw_mouse_event()
|
H A D | csel.c | 476 k = MEM_2_INT(img, 0) - info->cbase; in csel_scan()
|
H A D | memory.h | 890 #define MEM_2_INT(M,I) (((M)[(I)] << 16) + ((M)[(I) + 1] << 8) + (M)[(I) + 2]) macro
|
H A D | memory.c | 2654 pix = MEM_2_INT(src, 0); in mem_convert_indexed() 6522 return (MEM_2_INT(mem_img[CHN_IMAGE], x)); in get_pixel() 6531 return (MEM_2_INT(mem_img[CHN_IMAGE], x)); in get_pixel_RGB() 6539 return (MEM_2_INT(mem_img[CHN_IMAGE], x)); in get_pixel_img() 6560 if (mem_prot && mem_protected_RGB(MEM_2_INT(mem_img[CHN_IMAGE], in pixel_protected() 6604 mask[i] |= mem_protected_RGB(MEM_2_INT(img0, i * 3)); in prep_mask() 7585 pix = MEM_2_INT(im, 0); in mem_cols_used_real() 8990 k = MEM_2_INT(img, 0); in mem_mask_colors() 10575 get_lxn(dest, MEM_2_INT(src, 0)); in mem_convert_row()
|
H A D | mainwindow.c | 1869 else if (x *= 3 , MEM_2_INT(mem_img[CHN_IMAGE], x) != in get_bkg() 1889 return (MEM_2_INT(bkg_rgb, x)); in get_bkg() 2062 if (!*alpha || (MEM_2_INT(src, 0) == w_xpm)) in render_row() 2677 if (*srca && ((bpp == 1 ? *src : MEM_2_INT(src, 0)) != xpm)) in scan_trans()
|
H A D | vcode.c | 2871 cairo_set_rgb(cr, MEM_2_INT(col, 0)); in col_expose() 2887 gdk_rgb_gc_set_foreground(widget->style->black_gc, MEM_2_INT(col, 0)); in col_expose() 3100 gdk_pixbuf_fill(p, ((unsigned)MEM_2_INT(dt->col, i * 3) << 8) + 0xFF); in colorlist() 3148 gdk_pixbuf_fill(p, ((unsigned)MEM_2_INT(rgb, 0) << 8) + 0xFF); in colorlist_reset_color() 3208 cairo_set_rgb(cr, MEM_2_INT(rp, 0)); in gradbar_draw()
|
H A D | png.c | 5955 j = MEM_2_INT(dest, 0); in load_xpm() 6136 int n = MEM_2_INT(src, 0); in save_xpm() 6255 else k = ct_index(MEM_2_INT(src, j), ctable); in save_xpm()
|
H A D | canvas.c | 3477 rgb = MEM_2_INT(mem_col_pat24, j); in render_line()
|
H A D | mygtk.c | 706 for (n = w; n-- > 0; src += 3) *dest++ = MEM_2_INT(src, 0); in cairo_upload_rgb()
|
/dports/graphics/rgbpaint/rgbpaint-0.8.7/src/ |
H A D | memory.h | 224 #define MEM_2_INT(M,I) (((M)[(I)] << 16) + ((M)[(I) + 1] << 8) + (M)[(I) + 2]) macro
|
H A D | memory.c | 1167 return (MEM_2_INT(mem_img[CHN_IMAGE], x)); in get_pixel() 1176 return (MEM_2_INT(mem_img[CHN_IMAGE], x)); in get_pixel_RGB() 1184 return (MEM_2_INT(mem_img[CHN_IMAGE], x)); in get_pixel_img()
|