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

version» Context lines:

pike.git/src/modules/Image/blit.c:1: - /* $Id: blit.c,v 1.17 1997/11/06 19:25:50 mirar Exp $ */ + /* $Id: blit.c,v 1.18 1997/11/11 01:58:37 grubba Exp $ */   #include "global.h"      /*   **! module Image   **! note - **! $Id: blit.c,v 1.17 1997/11/06 19:25:50 mirar Exp $ + **! $Id: blit.c,v 1.18 1997/11/11 01:58:37 grubba Exp $   **! 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:771:    else    layer[j].opaque=255;       if (a->size>=4)    {    if (a->item[3].type!=T_INT)    {    free(layer);    error("Illegal array contents, layer %d (argument %d) (illegal method) to image->add_layers()\n",layers-i,args-i+1);    } -  layer[j].method=a->item[3].u.integer; +  layer[j].method=(enum layer_method)a->item[3].u.integer;    }    else    layer[j].method=LAYER_NOP;    }       push_int(1+x2-x1);    push_int(1+y2-y1);    o=clone_object(image_program,2);    d=((struct image*)get_storage(o,image_program))->img;