pike.git / src / modules / Image / layer_oper.h

version» Context lines:

pike.git/src/modules/Image/layer_oper.h:1: - /*\ - ||| This file is part of Pike. For copyright information see COPYRIGHT. - ||| Pike is distributed under GPL, LGPL and MPL. See the file COPYING - ||| for more information. - ||| $Id: layer_oper.h,v 1.9 2002/10/08 20:22:31 nilsson Exp $ - \*/ + /* + || This file is part of Pike. For copyright information see COPYRIGHT. + || Pike is distributed under GPL, LGPL and MPL. See the file COPYING + || for more information. + || $Id: layer_oper.h,v 1.10 2002/10/11 01:39:42 nilsson Exp $ + */ +    /* template for operator layer row function */      static void LM_FUNC(rgb_group *s,rgb_group *l,rgb_group *d,    rgb_group *sa,rgb_group *la,rgb_group *da,    int len,double alpha)   {    union { COLORTYPE r,g,b; } tz,*t=&tz;      #ifndef L_LOGIC    if (alpha==0.0)
pike.git/src/modules/Image/layer_oper.h:231:    *da=*d=L_TRANS;    else    *da=*d=L_LOGIC(L_OPER(s->r,l->r),    L_OPER(s->g,l->g),    L_OPER(s->b,l->b));    l++; s++; la++; sa++; d++; da++;    }    }   #endif /* L_LOGIC */   } -  +