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.70 2001/07/16 23:49:00 nilsson Exp $ + **! $Id: layers.c,v 1.71 2001/07/17 03:44:13 nilsson Exp $   **! class Layer   **! see also: layers   **!      **!   **! - **! <add_appendix name="layers" title="Image.Layer modes"> + **! appendix Image.Layer modes + **!   **! <dl compact>   **! <dt><i>The variables in the expression:</i></dt>   **! <dt>L</dt><dd><i>The active layer</i></dd>   **! <dt>S</dt><dd><i>The source layer (the sum of the layers below)</i></dd>   **! <dt>D</dt><dd><i>The destintion layer (the result)</i></dd>   **! <dt>Xrgb</dt><dd><i>Layer red (<b>Xr</b>), green (<b>Xg</b>) or blue channel (<b>Xb</b>) </i></dd>   **! <dt>Xhsv</dt><dd><i>Layer hue (<b>Xh</b>), saturation (<b>Xs</b>) or value channel (<b>Xv</b>) (virtual channels)</i></dd>   **! <dt>Xhls</dt><dd><i>Layer hue (<b>Xh</b>), lightness channel (<b>Xl</b>) or saturation (<b>Xs</b>) (virtual channels)</i></dd>   **! <dt>aX</dt><dd><i>Layer alpha, channel in layer alpha</i></dd>   **! </dl>
pike.git/src/modules/Image/layers.c:202:   ** xv(r);   **!   **! write_image(mode,mode,lay(({ltrans,r}))->image(),desc);   **! }   **!   **! write(end_tag());   **! return 0;   **! }   **!   **! </execute> - **! </add_appendix> +    */      #include "global.h"      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.70 2001/07/16 23:49:00 nilsson Exp $"); + RCSID("$Id: layers.c,v 1.71 2001/07/17 03:44:13 nilsson 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"