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.39 1999/11/24 12:09:54 jonasw Exp $ + **! $Id: layers.c,v 1.40 2000/01/30 22:14:05 hubbe 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.39 1999/11/24 12:09:54 jonasw Exp $"); + RCSID("$Id: layers.c,v 1.40 2000/01/30 22:14:05 hubbe 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:921:       f_aggregate(LAYER_MODES);   }      static void image_layer_descriptions(INT32 args)   {    int i;    pop_n_elems(args);       for (i=0; i<LAYER_MODES; i++) -  ref_push_string(make_shared_string(layer_mode[i].desc)); +  push_string(make_shared_string(layer_mode[i].desc));       f_aggregate(LAYER_MODES);   }      /*   **! method object set_fill(Color color)   **! method object set_fill(Color color,Color alpha)   **! method object fill()   **! method object fill_alpha()   **! Set/query fill color and alpha, ie the color used "outside" the