Branch: Tag:

2001-11-19

2001-11-19 16:22:58 by Martin Nilsson <mani@lysator.liu.se>

Added documentation prototypes for description and cast methods.

Rev: src/modules/Image/layers.c:1.76

1:   /*   **! module Image   **! note - **! $Id: layers.c,v 1.75 2001/10/26 20:33:00 nilsson Exp $ + **! $Id: layers.c,v 1.76 2001/11/19 16:22:58 nilsson Exp $   **! class Layer   **! see also: layers   **!
196:      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.75 2001/10/26 20:33:00 nilsson Exp $"); + RCSID("$Id: layers.c,v 1.76 2001/11/19 16:22:58 nilsson Exp $");      #include "image_machine.h"   
1151:    f_aggregate(LAYER_MODES);   }    + /* + **! method array(string) description() + **! Layer descriptions + */   static void image_layer_descriptions(INT32 args)   {    int i;
1451:      /*** layer object *****************************************/    + /* + **! method mapping(string:mixed) cast() + **! ([ "xsize":int, + **! "ysize":int, + **! "image":image, + **! "alpha":image, + **! "xoffset":int, + **! "yoffset":int, + **! "fill":image, + **! "fill_alpha":image + **! "tiled":int, + **! "mode":string + **! ]) +  */   static void image_layer_cast(INT32 args)   {    if (!args)