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.51 2000/08/06 20:11:08 grubba Exp $ + **! $Id: layers.c,v 1.52 2000/08/07 09:49:45 grubba Exp $   **! class Layer   **! see also: layers   **!      **!   **!   **! <add_appendix name="layers" title="Image.Layer modes">   **! <dl compact>   **! <dt><i>The variables in the expression:</i>   **! <dt>L<dd><i>The active layer</i>
pike.git/src/modules/Image/layers.c:208:   **! }   **!   **! </execute>   **! </add_appendix>   */      #include "global.h"      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.51 2000/08/06 20:11:08 grubba Exp $"); + RCSID("$Id: layers.c,v 1.52 2000/08/07 09:49:45 grubba 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:1371:    ALPHA_ADD_V(s,l,d,sa,la,da,alpha,g);    ALPHA_ADD_V(s,l,d,sa,la,da,alpha,b);       l++; s++; la++; sa++; da++; d++;    }    return;    }   }       - #if defined(__ECL) && 1 + #if defined(__ECL) && 0   #define WARN_TRACE(X) static char PIKE_CONCAT(foo__, X) (double d) { return (char)d; }   #else /* !__ECL */   #define WARN_TRACE(X)   #endif /* __ECL */      /* operators from template */      #define LM_FUNC lm_add   #define L_TRUNC(X) MINIMUM(255,(X))   #define L_OPER(A,B) ((A)+DOUBLE_TO_INT(B))