From abc97437ad2c806191736eeb8f84d0a5348c44d5 Mon Sep 17 00:00:00 2001 From: "Mirar (Pontus Hagland)" <pike@sort.mirar.org> Date: Sat, 29 May 1999 16:31:20 +0200 Subject: [PATCH] docfix Rev: src/modules/Image/layers.c:1.13 --- src/modules/Image/layers.c | 164 ++++++++----------------------------- 1 file changed, 36 insertions(+), 128 deletions(-) diff --git a/src/modules/Image/layers.c b/src/modules/Image/layers.c index 2a18dc9e98..eaacd5a801 100644 --- a/src/modules/Image/layers.c +++ b/src/modules/Image/layers.c @@ -1,7 +1,7 @@ /* **! 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,7 +10,7 @@ #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" @@ -578,134 +578,42 @@ static void image_layer_alpha_value(INT32 args) **! method object set_mode(string mode) **! method string mode() **! method array(string) available_modes() -**! Set/get layer mode. Mode is one of these: +**! 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", +**! +**! "replace", +**! "red", +**! "green", +**! "blue", +**! +**! "replace_hsv", +**! "hue", +**! "saturation", +**! "value", +**! "color", +**! +**! "darken", +**! "lighten", +**! +**! "dissolve", +**! "behind", +**! "erase", **! -**! <tr><td valign=top align=left> -**! <b><tt>addition</tt><b></br> -**! ? -**! </td><td align=left valign=top> -**! <illustration> return lena(); </illustration> -**! <td></tr> -**! -**! <tr><td valign=top align=left> -**! <b><tt>behind</tt><b></br> -**! ? -**! </td><td align=left valign=top> -**! <illustration> return lena(); </illustration> -**! <td></tr> -**! -**! <tr><td valign=top align=left> -**! <b><tt>color</tt><b></br> -**! ? -**! </td><td align=left valign=top> -**! <illustration> return lena(); </illustration> -**! <td></tr> -**! -**! <tr><td valign=top align=left> -**! <b><tt>darken</tt><b></br> -**! ? -**! </td><td align=left valign=top> -**! <illustration> return lena(); </illustration> -**! <td></tr> -**! -**! <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. **! -- GitLab