didou Thu Jan 15 07:42:38 2004 EDT
Modified files: /phpdoc/en/reference/image/functions imagecreatefromgif.xml imagecreatefromjpeg.xml imagecreatefrompng.xml imagecreatefromwbmp.xml imageline.xml Log: CS : Function declarations follow the 'one true brace' convention Index: phpdoc/en/reference/image/functions/imagecreatefromgif.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.8 phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.9 --- phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.8 Fri Aug 15 18:50:50 2003 +++ phpdoc/en/reference/image/functions/imagecreatefromgif.xml Thu Jan 15 07:42:37 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imagecreatefromgif"> <refnamediv> @@ -29,7 +29,8 @@ <programlisting role="php"> <![CDATA[ <?php -function LoadGif ($imgname) { +function LoadGif ($imgname) +{ $im = @imagecreatefromgif ($imgname); /* Attempt to open */ if (!$im) { /* See if it failed */ $im = imagecreate (150, 30); /* Create a blank image */ Index: phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.7 phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.8 --- phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.7 Mon Dec 15 11:51:11 2003 +++ phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml Thu Jan 15 07:42:37 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.4 --> <refentry id="function.imagecreatefromjpeg"> <refnamediv> @@ -29,7 +29,8 @@ <programlisting role="php"> <![CDATA[ <?php -function LoadJpeg($imgname) { +function LoadJpeg($imgname) +{ $im = @imagecreatefromjpeg($imgname); /* Attempt to open */ if (!$im) { /* See if it failed */ $im = imagecreate(150, 30); /* Create a blank image */ Index: phpdoc/en/reference/image/functions/imagecreatefrompng.xml diff -u phpdoc/en/reference/image/functions/imagecreatefrompng.xml:1.7 phpdoc/en/reference/image/functions/imagecreatefrompng.xml:1.8 --- phpdoc/en/reference/image/functions/imagecreatefrompng.xml:1.7 Mon Dec 15 11:51:11 2003 +++ phpdoc/en/reference/image/functions/imagecreatefrompng.xml Thu Jan 15 07:42:37 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.4 --> <refentry id="function.imagecreatefrompng"> <refnamediv> @@ -29,7 +29,8 @@ <programlisting role="php"> <![CDATA[ <?php -function LoadPNG($imgname) { +function LoadPNG($imgname) +{ $im = @imagecreatefrompng($imgname); /* Attempt to open */ if (!$im) { /* See if it failed */ $im = imagecreate(150, 30); /* Create a blank image */ Index: phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml:1.7 phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml:1.8 --- phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml:1.7 Mon Dec 15 11:51:11 2003 +++ phpdoc/en/reference/image/functions/imagecreatefromwbmp.xml Thu Jan 15 07:42:37 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.30 --> <refentry id="function.imagecreatefromwbmp"> <refnamediv> @@ -29,7 +29,8 @@ <programlisting role="php"> <![CDATA[ <?php -function LoadWBMP($imgname) { +function LoadWBMP($imgname) +{ $im = @imagecreatefromwbmp($imgname); /* Attempt to open */ if (!$im) { /* See if it failed */ $im = imagecreate (20, 20); /* Create a blank image */ Index: phpdoc/en/reference/image/functions/imageline.xml diff -u phpdoc/en/reference/image/functions/imageline.xml:1.5 phpdoc/en/reference/image/functions/imageline.xml:1.6 --- phpdoc/en/reference/image/functions/imageline.xml:1.5 Fri Dec 26 16:10:09 2003 +++ phpdoc/en/reference/image/functions/imageline.xml Thu Jan 15 07:42:38 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/image.xml, last change in rev 1.2 --> <refentry id="function.imageline"> <refnamediv> @@ -29,7 +29,8 @@ <![CDATA[ <?php -function imagelinethick($image, $x1, $y1, $x2, $y2, $color, $thick = 1) { +function imagelinethick($image, $x1, $y1, $x2, $y2, $color, $thick = 1) +{ /* this way it works well only for orthogonal lines imagesetthickness($image, $thick); return imageline($image, $x1, $y1, $x2, $y2, $color);