Branch: Tag:

1999-05-29

1999-05-29 14:31:20 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

docfix

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

1:   /*   **! module Image   **! note - **! $Id: layers.c,v 1.12 1999/05/23 17:46:44 mirar Exp $ + **! $Id: layers.c,v 1.13 1999/05/29 14:31:20 mirar Exp $   **! class Layer   */   
10:      #include <math.h> /* floor */    - RCSID("$Id: layers.c,v 1.12 1999/05/23 17:46:44 mirar Exp $"); + RCSID("$Id: layers.c,v 1.13 1999/05/29 14:31:20 mirar Exp $");      #include "config.h"   
580:   **! method array(string) available_modes()   **! Set/get layer mode. Mode is one of these:   **! - **! <tr><td valign=top align=left> - **! <b><tt>normal</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> + **! "normal", + **! "add", + **! "subtract", + **! "multiply", + **! "divide", + **! "modulo", + **! "invsubtract", + **! "invdivide", + **! "invmodulo", + **! "difference", + **! "max", + **! "min", + **! "bitwize_and", + **! "bitwize_or", + **! "bitwize_xor",   **! - **! <tr><td valign=top align=left> - **! <b><tt>addition</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> + **! "replace", + **! "red", + **! "green", + **! "blue",   **! - **! <tr><td valign=top align=left> - **! <b><tt>behind</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> + **! "replace_hsv", + **! "hue", + **! "saturation", + **! "value", + **! "color",   **! - **! <tr><td valign=top align=left> - **! <b><tt>color</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> + **! "darken", + **! "lighten",   **! - **! <tr><td valign=top align=left> - **! <b><tt>darken</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> + **! "dissolve", + **! "behind", + **! "erase",   **! - **! <tr><td valign=top align=left> - **! <b><tt>difference</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! - **! <tr><td valign=top align=left> - **! <b><tt>dissolve</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! - **! <tr><td valign=top align=left> - **! <b><tt>divide</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! - **! <tr><td valign=top align=left> - **! <b><tt>erase</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! - **! <tr><td valign=top align=left> - **! <b><tt>hue</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! - **! <tr><td valign=top align=left> - **! <b><tt>lighten</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! - **! <tr><td valign=top align=left> - **! <b><tt>multiply</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! - **! <tr><td valign=top align=left> - **! <b><tt>overlay</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! - **! <tr><td valign=top align=left> - **! <b><tt>replace</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! - **! <tr><td valign=top align=left> - **! <b><tt>saturation</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! - **! <tr><td valign=top align=left> - **! <b><tt>screen</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! - **! <tr><td valign=top align=left> - **! <b><tt>subtract</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! - **! <tr><td valign=top align=left> - **! <b><tt>value</tt><b></br> - **! ? - **! </td><td align=left valign=top> - **! <illustration> return lena(); </illustration> - **! <td></tr> - **! +    **! <ref>available_modes</ref>() simply gives an array   **! containing the names of these modes.   **!