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

version» Context lines:

pike.git/src/modules/Image/blit.c:1: - /* $Id: blit.c,v 1.14 1997/09/18 23:32:00 grubba Exp $ */ + /* $Id: blit.c,v 1.15 1997/10/12 21:09:56 mirar Exp $ */   #include "global.h"      /*   **! module Image   **! note - **! $Id: blit.c,v 1.14 1997/09/18 23:32:00 grubba Exp $<br> + **! $Id: blit.c,v 1.15 1997/10/12 21:09:56 mirar Exp $<br>   **! class image   */      #include <math.h>   #include <ctype.h>      #include "stralloc.h"   #include "global.h"   #include "pike_macros.h"   #include "object.h"
pike.git/src/modules/Image/blit.c:504:   **! what color to paint with; default is current   **! arg int x   **! arg int y   **! where to paste the image; default is 0,0   **!   **! see also: paste_mask, paste_alpha, paste_alpha_color   */      void image_paste_alpha_color(INT32 args)   { -  struct image *img,*mask; +  struct image *mask;    INT32 x1,y1,x,y,x2,y2;    rgb_group rgb,*d,*m;    INT32 mmod,dmod;    float q;       if (args!=1 && args!=4 && args!=6 && args!=3)    error("illegal number of arguments to image->paste_alpha_color()\n");    if (sp[-args].type!=T_OBJECT    || !sp[-args].u.object    || sp[-args].u.object->prog!=image_program)