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

version» Context lines:

pike.git/src/modules/Image/layers.c:1:   /*   **! module Image   **! note - **! $Id: layers.c,v 1.15 1999/06/03 17:20:13 mirar Exp $ + **! $Id: layers.c,v 1.16 1999/06/13 11:46:09 mirar Exp $   **! class Layer   */      #include "global.h"      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.15 1999/06/03 17:20:13 mirar Exp $"); + RCSID("$Id: layers.c,v 1.16 1999/06/13 11:46:09 mirar Exp $");      #include "image_machine.h"      #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "array.h"
pike.git/src/modules/Image/layers.c:1509:    da->g=CCUT(sa->g*(int)(COLORMAX-alpha*la->g));    da->b=CCUT(sa->b*(int)(COLORMAX-alpha*la->b));       la++; sa++; da++;    }   }         /*** the add-layer function ***************************/    - static void INLINE img_lay_first_line(struct layer *l, + static INLINE void img_lay_first_line(struct layer *l,    int xoffs,int xsize,    int y, /* in _this_ layer */    rgb_group *d,rgb_group *da)   {    if (!l->tiled)    {    rgb_group *s,*sa;    int len;       if (y<0 ||