pike.git / src / modules / Image / layers.c

version» Context lines:

pike.git/src/modules/Image/layers.c: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: layers.c,v 1.93 2003/12/09 08:11:31 nilsson Exp $ + || $Id: layers.c,v 1.94 2003/12/12 17:43:54 nilsson Exp $   */      /*   **! module Image   **! class Layer   **! see also: layers   */      #include "global.h"      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.93 2003/12/09 08:11:31 nilsson Exp $"); + RCSID("$Id: layers.c,v 1.94 2003/12/12 17:43:54 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"
pike.git/src/modules/Image/layers.c:1121:   /*   **! method array(string) description()   **! Layer descriptions   */   static void image_layer_descriptions(INT32 args)   {    int i;    pop_n_elems(args);       for (i=0; i<LAYER_MODES; i++) -  push_string(make_shared_string(layer_mode[i].desc)); +  push_text(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