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.10 1999/04/23 23:45:27 mirar Exp $ + **! $Id: layers.c,v 1.11 1999/05/08 00:42:12 hubbe Exp $   **! class Layer   */      #include "global.h"   #include <config.h>      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.10 1999/04/23 23:45:27 mirar Exp $"); + RCSID("$Id: layers.c,v 1.11 1999/05/08 00:42:12 hubbe Exp $");      #include "config.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:76:       rgb_group sfill[SNUMPIXS]; /* pre-calculated rows */    rgb_group sfill_alpha[SNUMPIXS];       int tiled; /* true if tiled */       lm_row_func *row_func;/* layer mode */    int optimize_alpha;   };    + #undef THIS   #define THIS ((struct layer *)(fp->current_storage))   #define THISOBJ (fp->current_object)      #define LMFUNC(X) \    static void X(rgb_group *s,rgb_group *l,rgb_group *d, \    rgb_group *sa,rgb_group *la,rgb_group *da, \    int len,double alpha)      LMFUNC(lm_normal);   LMFUNC(lm_add);