pike.git / src / modules / Image / blit.c

version» Context lines:

pike.git/src/modules/Image/blit.c:75:      #define setpixel(x,y) \    (THIS->alpha? \    set_rgb_group_alpha(THIS->img[(x)+(y)*THIS->xsize],THIS->rgb,THIS->alpha): \    ((pixel(THIS,x,y)=THIS->rgb),0))      #define setpixel_test(x,y) \    (((x)<0||(y)<0||(x)>=THIS->xsize||(y)>=THIS->ysize)? \    0:(setpixel(x,y),0))    - static INLINE int getrgb(struct image *img, + static inline int getrgb(struct image *img,    INT32 args_start,INT32 args,INT32 max,char *name)   {    INT32 i;    if (args-args_start<1) return 0;       if (image_color_svalue(sp-args+args_start,&(img->rgb)))    return 1;       if (max<3 || args-args_start<3) return 0;