diff --git a/src/modules/Image/doc/Image.image.html b/src/modules/Image/doc/Image.image.html index 34aefef9b8cc2da700798fc92550949fcda10002..727507d0766d334f3bcc646234dba327f9c96233 100644 --- a/src/modules/Image/doc/Image.image.html +++ b/src/modules/Image/doc/Image.image.html @@ -102,17 +102,18 @@ object <b>`&</b>(int value)</tt> <blockquote> makes a new image out of the minimum pixels values - - -<p> object operand - the other image to compare with; +</blockquote> +<h4>ARGUMENTS</h4> +<blockquote><dl> +<dt><tt>object operand</tt> + <dd>the other image to compare with; the images must have the same size. - array(int) color - an array in format ({r,g,b}), this is equal +<dt><tt>array(int) color</tt> + <dd>an array in format ({r,g,b}), this is equal to using an uniform-colored image. - int value - equal to ({value,value,value}). -</blockquote> +<dt><tt>int value</tt> + <dd>equal to ({value,value,value}). +</dl></blockquote> <h4>RETURNS</h4> @@ -148,16 +149,18 @@ Multiplies pixel values and creates a new image. making it greyer, for instance: <p> <pre>image=image*128+64;</pre> - -<p> object operand - the other image to multiply with; +</blockquote> +<h4>ARGUMENTS</h4> +<blockquote><dl> +<dt><tt>object operand</tt> + <dd>the other image to multiply with; the images must have the same size. - array(int) color - an array in format ({r,g,b}), this is equal +<dt><tt>array(int) color</tt> + <dd>an array in format ({r,g,b}), this is equal to using an uniform-colored image. - int value - equal to ({value,value,value}). -</blockquote> +<dt><tt>int value</tt> + <dd>equal to ({value,value,value}). +</dl></blockquote> <h4>RETURNS</h4> @@ -188,15 +191,17 @@ object <b>`+</b>(int value)</tt> <blockquote> adds two images; values are truncated at 255. - -<p> object operand - the image which to add. - array(int) color - an array in format ({r,g,b}), this is equal - to using an uniform-colored image. - int value - equal to ({value,value,value}). </blockquote> +<h4>ARGUMENTS</h4> +<blockquote><dl> +<dt><tt>object operand</tt> + <dd>the image which to add. +<dt><tt>array(int) color</tt> + <dd>an array in format ({r,g,b}), this is equal + to using an uniform-colored image. +<dt><tt>int value</tt> + <dd>equal to ({value,value,value}). +</dl></blockquote> <h4>RETURNS</h4> @@ -227,16 +232,18 @@ object <b>`-</b>(int value)</tt> <blockquote> makes a new image out of the difference - -<p> object operand - the other image to compare with; +</blockquote> +<h4>ARGUMENTS</h4> +<blockquote><dl> +<dt><tt>object operand</tt> + <dd>the other image to compare with; the images must have the same size. - array(int) color - an array in format ({r,g,b}), this is equal +<dt><tt>array(int) color</tt> + <dd>an array in format ({r,g,b}), this is equal to using an uniform-colored image. - int value - equal to ({value,value,value}). -</blockquote> +<dt><tt>int value</tt> + <dd>equal to ({value,value,value}). +</dl></blockquote> <h4>RETURNS</h4> @@ -267,17 +274,18 @@ object <b>`|</b>(int value)</tt> <blockquote> makes a new image out of the maximum pixels values - - -<p> object operand - the other image to compare with; +</blockquote> +<h4>ARGUMENTS</h4> +<blockquote><dl> +<dt><tt>object operand</tt> + <dd>the other image to compare with; the images must have the same size. - array(int) color - an array in format ({r,g,b}), this is equal +<dt><tt>array(int) color</tt> + <dd>an array in format ({r,g,b}), this is equal to using an uniform-colored image. - int value - equal to ({value,value,value}). -</blockquote> +<dt><tt>int value</tt> + <dd>equal to ({value,value,value}). +</dl></blockquote> <h4>RETURNS</h4> diff --git a/src/modules/Image/operator.c b/src/modules/Image/operator.c index 77391398db8da807b78368f3b04db377af50be6f..378aae72506984d3fa7923095f508ba98dccc009 100644 --- a/src/modules/Image/operator.c +++ b/src/modules/Image/operator.c @@ -1,4 +1,4 @@ -/* $Id: operator.c,v 1.5 1997/04/03 07:00:33 mirar Exp $ */ +/* $Id: operator.c,v 1.6 1997/05/01 13:29:48 mirar Exp $ */ /* **! module Image @@ -97,13 +97,13 @@ extern struct program *image_program; **! makes a new image out of the difference **! returns the new image object **! -**! object operand +**! arg object operand **! the other image to compare with; **! the images must have the same size. -**! array(int) color +**! arg array(int) color **! an array in format ({r,g,b}), this is equal **! to using an uniform-colored image. -**! int value +**! arg int value **! equal to ({value,value,value}). **! see also: `+, `|, `&, `*, add_layers */ @@ -136,12 +136,12 @@ STANDARD_OPERATOR_HEADER("`-") **! adds two images; values are truncated at 255. **! returns the new image object **! -**! object operand +**! arg object operand **! the image which to add. -**! array(int) color +**! arg array(int) color **! an array in format ({r,g,b}), this is equal **! to using an uniform-colored image. -**! int value +**! arg int value **! equal to ({value,value,value}). **! see also: `-, `|, `&, `*, add_layers */ @@ -179,13 +179,13 @@ STANDARD_OPERATOR_HEADER("`+") **! **! <pre>image=image*128+64;</pre> **! -**! object operand +**! arg object operand **! the other image to multiply with; **! the images must have the same size. -**! array(int) color +**! arg array(int) color **! an array in format ({r,g,b}), this is equal **! to using an uniform-colored image. -**! int value +**! arg int value **! equal to ({value,value,value}). **! **! see also: `-, `+, `|, `&, add_layers @@ -221,13 +221,13 @@ STANDARD_OPERATOR_HEADER("`*") **! **! returns the new image object **! -**! object operand +**! arg object operand **! the other image to compare with; **! the images must have the same size. -**! array(int) color +**! arg array(int) color **! an array in format ({r,g,b}), this is equal **! to using an uniform-colored image. -**! int value +**! arg int value **! equal to ({value,value,value}). **! see also: `-, `+, `&, `*, add_layers */ @@ -261,13 +261,13 @@ STANDARD_OPERATOR_HEADER("`| 'maximum'") **! **! returns the new image object **! -**! object operand +**! arg object operand **! the other image to compare with; **! the images must have the same size. -**! array(int) color +**! arg array(int) color **! an array in format ({r,g,b}), this is equal **! to using an uniform-colored image. -**! int value +**! arg int value **! equal to ({value,value,value}). **! see also: `-, `+, `|, `*, add_layers */