bjori Fri Jan 19 19:49:07 2007 UTC
Added files:
/phpdoc/en/reference/image/figures imagearc.png imagechar.png
imagecharup.png
imagecolorallocatealpha.png
imagecopyresampled.jpg
imagecopyresampled_2.jpg
imagecopyresized.jpg
imagecreate.png
imagecreatefromgif.gif
imagecreatefromjpeg.gif
imagecreatefrompng.gif
imagecreatefromstring.png
imagecreatetruecolor.png
imageellipse.png imagefill.png
imagefilledarc.png
imagefilledellipse.png
imagefilledpolygon.png
imagepolygon.png imagerotate.jpg
imagesetstyle.jpg
imagestring.png
Modified files:
/phpdoc/en/reference/image/functions imagearc.xml imagechar.xml
imagecharup.xml
imagecolorallocatealpha.xml
imagecolorat.xml
imagecopyresampled.xml
imagecopyresized.xml
imagecreate.xml
imagecreatefromgif.xml
imagecreatefromjpeg.xml
imagecreatefrompng.xml
imagecreatefromstring.xml
imagecreatetruecolor.xml
imageellipse.xml imagefill.xml
imagefilledarc.xml
imagefilledellipse.xml
imagefilledpolygon.xml
imagepolygon.xml
imagerotate.xml
imagesetstyle.xml
imagestring.xml
Log:
Add image example output
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagearc.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/image/functions/imagearc.xml
diff -u phpdoc/en/reference/image/functions/imagearc.xml:1.11
phpdoc/en/reference/image/functions/imagearc.xml:1.12
--- phpdoc/en/reference/image/functions/imagearc.xml:1.11 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagearc.xml Fri Jan 19 19:49:06 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry id="function.imagearc">
<refnamediv>
<refname>imagearc</refname>
@@ -110,10 +110,17 @@
// allocate some colors
$white = imagecolorallocate($img, 255, 255, 255);
-$black = imagecolorallocate($img, 0, 0, 0);
-
-// draw a black circle
-imagearc($img, 100, 100, 150, 150, 0, 360, $black);
+$red = imagecolorallocate($img, 255, 0, 0);
+$green = imagecolorallocate($img, 0, 255, 0);
+$blue = imagecolorallocate($img, 0, 0, 255);
+
+// draw the head
+imagearc($img, 100, 100, 200, 200, 0, 360, $white);
+// mouth
+imagearc($img, 100, 100, 150, 150, 25, 155, $red);
+// left and then the right eye
+imagearc($img, 60, 75, 50, 50, 0, 360, $green);
+imagearc($img, 140, 75, 50, 50, 0, 360, $blue);
// output image in the browser
header("Content-type: image/png");
@@ -125,6 +132,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagearc.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagechar.xml?r1=1.12&r2=1.13&diff_format=u
Index: phpdoc/en/reference/image/functions/imagechar.xml
diff -u phpdoc/en/reference/image/functions/imagechar.xml:1.12
phpdoc/en/reference/image/functions/imagechar.xml:1.13
--- phpdoc/en/reference/image/functions/imagechar.xml:1.12 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagechar.xml Fri Jan 19 19:49:06 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<refentry id="function.imagechar">
<refnamediv>
<refname>imagechar</refname>
@@ -97,6 +97,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagechar.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecharup.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecharup.xml
diff -u phpdoc/en/reference/image/functions/imagecharup.xml:1.11
phpdoc/en/reference/image/functions/imagecharup.xml:1.12
--- phpdoc/en/reference/image/functions/imagecharup.xml:1.11 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagecharup.xml Fri Jan 19 19:49:06 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry id="function.imagecharup">
<refnamediv>
<refname>imagecharup</refname>
@@ -94,6 +94,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagecharup.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml
diff -u phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml:1.8
phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml:1.9
--- phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml:1.8 Sun Jan
14 03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagecolorallocatealpha.xml Fri Jan
19 19:49:06 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry id="function.imagecolorallocatealpha">
<refnamediv>
<refname>imagecolorallocatealpha</refname>
@@ -115,6 +115,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagecolorallocatealpha.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecolorat.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecolorat.xml
diff -u phpdoc/en/reference/image/functions/imagecolorat.xml:1.6
phpdoc/en/reference/image/functions/imagecolorat.xml:1.7
--- phpdoc/en/reference/image/functions/imagecolorat.xml:1.6 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagecolorat.xml Fri Jan 19
19:49:06 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<refentry id="function.imagecolorat">
<refnamediv>
<refname>imagecolorat</refname>
@@ -62,14 +62,22 @@
<programlisting role="php">
<![CDATA[
<?php
-$im = ImageCreateFromPng("rockym.png");
-$rgb = ImageColorAt($im, 100, 100);
+$im = imagecreatefrompng("php.png");
+$rgb = imagecolorat($im, 10, 15);
$r = ($rgb >> 16) & 0xFF;
$g = ($rgb >> 8) & 0xFF;
$b = $rgb & 0xFF;
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+int(119)
+int(123)
+int(180)
+]]>
+ </screen>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecopyresampled.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecopyresampled.xml
diff -u phpdoc/en/reference/image/functions/imagecopyresampled.xml:1.9
phpdoc/en/reference/image/functions/imagecopyresampled.xml:1.10
--- phpdoc/en/reference/image/functions/imagecopyresampled.xml:1.9 Sun Jan
14 03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagecopyresampled.xml Fri Jan 19
19:49:06 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<refentry id="function.imagecopyresampled">
<refnamediv>
<refname>imagecopyresampled</refname>
@@ -162,6 +162,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagecopyresampled.jpg" />
+ </screenshot>
</example>
</para>
<para>
@@ -205,6 +209,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagecopyresampled_2.jpg" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecopyresized.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecopyresized.xml
diff -u phpdoc/en/reference/image/functions/imagecopyresized.xml:1.8
phpdoc/en/reference/image/functions/imagecopyresized.xml:1.9
--- phpdoc/en/reference/image/functions/imagecopyresized.xml:1.8 Sun Jan
14 03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagecopyresized.xml Fri Jan 19
19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry id="function.imagecopyresized">
<refnamediv>
<refname>imagecopyresized</refname>
@@ -162,6 +162,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagecopyresized.jpg" />
+ </screenshot>
<para>
The image will be output at half size, though better
quality could be obtained using <function>imagecopyresampled</function>.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecreate.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecreate.xml
diff -u phpdoc/en/reference/image/functions/imagecreate.xml:1.10
phpdoc/en/reference/image/functions/imagecreate.xml:1.11
--- phpdoc/en/reference/image/functions/imagecreate.xml:1.10 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagecreate.xml Fri Jan 19 19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<refentry id="function.imagecreate">
<refnamediv>
<refname>imagecreate</refname>
@@ -60,9 +60,9 @@
<![CDATA[
<?php
header("Content-type: image/png");
-$im = @imagecreate(100, 50)
+$im = @imagecreate(110, 20)
or die("Cannot Initialize new GD image stream");
-$background_color = imagecolorallocate($im, 255, 255, 255);
+$background_color = imagecolorallocate($im, 0, 0, 0);
$text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "A Simple Text String", $text_color);
imagepng($im);
@@ -70,6 +70,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagecreate.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecreatefromgif.xml?r1=1.15&r2=1.16&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecreatefromgif.xml
diff -u phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.15
phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.16
--- phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.15 Sun Jan
14 03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagecreatefromgif.xml Fri Jan 19
19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<refentry id="function.imagecreatefromgif">
<refnamediv>
<refname>imagecreatefromgif</refname>
@@ -35,9 +35,16 @@
}
return $im;
}
+header("Content-Type: image/gif");
+$img = LoadGif("bogus.image");
+imagegif($img);
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagecreatefromgif.gif" />
+ </screenshot>
</example>
</para>
&tip.fopen-wrapper;
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml?r1=1.15&r2=1.16&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml
diff -u phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.15
phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.16
--- phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml:1.15 Sun Jan
14 03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagecreatefromjpeg.xml Fri Jan 19
19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<refentry id="function.imagecreatefromjpeg">
<refnamediv>
<refname>imagecreatefromjpeg</refname>
@@ -38,9 +38,16 @@
}
return $im;
}
+header("Content-Type: image/jpeg");
+$img = LoadJpeg("bogus.image");
+imagejpeg($img);
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagecreatefromjpeg.jpg" />
+ </screenshot>
</example>
</para>
&tip.fopen-wrapper;
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecreatefrompng.xml?r1=1.12&r2=1.13&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecreatefrompng.xml
diff -u phpdoc/en/reference/image/functions/imagecreatefrompng.xml:1.12
phpdoc/en/reference/image/functions/imagecreatefrompng.xml:1.13
--- phpdoc/en/reference/image/functions/imagecreatefrompng.xml:1.12 Sun Jan
14 03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagecreatefrompng.xml Fri Jan 19
19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<refentry id="function.imagecreatefrompng">
<refnamediv>
<refname>imagecreatefrompng</refname>
@@ -38,9 +38,16 @@
}
return $im;
}
+header("Content-Type: image/png");
+$img = LoadPNG("bogus.image");
+imagepng($img);
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagecreatefrompng.png" />
+ </screenshot>
</example>
</para>
&tip.fopen-wrapper;
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecreatefromstring.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecreatefromstring.xml
diff -u phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.10
phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.11
--- phpdoc/en/reference/image/functions/imagecreatefromstring.xml:1.10 Sun Jan
14 03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagecreatefromstring.xml Fri Jan
19 19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<refentry id="function.imagecreatefromstring">
<refnamediv>
<refname>imagecreatefromstring</refname>
@@ -66,6 +66,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagecreatefromstring.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecreatetruecolor.xml?r1=1.12&r2=1.13&diff_format=u
Index: phpdoc/en/reference/image/functions/imagecreatetruecolor.xml
diff -u phpdoc/en/reference/image/functions/imagecreatetruecolor.xml:1.12
phpdoc/en/reference/image/functions/imagecreatetruecolor.xml:1.13
--- phpdoc/en/reference/image/functions/imagecreatetruecolor.xml:1.12 Sun Jan
14 03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagecreatetruecolor.xml Fri Jan
19 19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<refentry id="function.imagecreatetruecolor">
<refnamediv>
<refname>imagecreatetruecolor</refname>
@@ -65,7 +65,7 @@
<![CDATA[
<?php
header ("Content-type: image/png");
-$im = @imagecreatetruecolor(50, 100)
+$im = @imagecreatetruecolor(120, 20)
or die("Cannot Initialize new GD image stream");
$text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "A Simple Text String", $text_color);
@@ -74,6 +74,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagecreatetruecolor.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imageellipse.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/image/functions/imageellipse.xml
diff -u phpdoc/en/reference/image/functions/imageellipse.xml:1.11
phpdoc/en/reference/image/functions/imageellipse.xml:1.12
--- phpdoc/en/reference/image/functions/imageellipse.xml:1.11 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imageellipse.xml Fri Jan 19
19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry id="function.imageellipse">
<refnamediv>
<refname>imageellipse</refname>
@@ -103,6 +103,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imageellipse.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagefill.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/image/functions/imagefill.xml
diff -u phpdoc/en/reference/image/functions/imagefill.xml:1.9
phpdoc/en/reference/image/functions/imagefill.xml:1.10
--- phpdoc/en/reference/image/functions/imagefill.xml:1.9 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagefill.xml Fri Jan 19 19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<refentry id="function.imagefill">
<refnamediv>
<refname>imagefill</refname>
@@ -80,6 +80,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagefill.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagefilledarc.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/image/functions/imagefilledarc.xml
diff -u phpdoc/en/reference/image/functions/imagefilledarc.xml:1.11
phpdoc/en/reference/image/functions/imagefilledarc.xml:1.12
--- phpdoc/en/reference/image/functions/imagefilledarc.xml:1.11 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagefilledarc.xml Fri Jan 19
19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry id="function.imagefilledarc">
<refnamediv>
<refname>imagefilledarc</refname>
@@ -160,6 +160,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagefilledarc.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagefilledellipse.xml?r1=1.14&r2=1.15&diff_format=u
Index: phpdoc/en/reference/image/functions/imagefilledellipse.xml
diff -u phpdoc/en/reference/image/functions/imagefilledellipse.xml:1.14
phpdoc/en/reference/image/functions/imagefilledellipse.xml:1.15
--- phpdoc/en/reference/image/functions/imagefilledellipse.xml:1.14 Sun Jan
14 03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagefilledellipse.xml Fri Jan 19
19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
<refentry id="function.imagefilledellipse">
<refnamediv>
<refname>imagefilledellipse</refname>
@@ -104,6 +104,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagefilledellipse.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagefilledpolygon.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/image/functions/imagefilledpolygon.xml
diff -u phpdoc/en/reference/image/functions/imagefilledpolygon.xml:1.11
phpdoc/en/reference/image/functions/imagefilledpolygon.xml:1.12
--- phpdoc/en/reference/image/functions/imagefilledpolygon.xml:1.11 Sun Jan
14 03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagefilledpolygon.xml Fri Jan 19
19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry id="function.imagefilledpolygon">
<refnamediv>
<refname>imagefilledpolygon</refname>
@@ -94,6 +94,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagefilledpolygon.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagepolygon.xml?r1=1.12&r2=1.13&diff_format=u
Index: phpdoc/en/reference/image/functions/imagepolygon.xml
diff -u phpdoc/en/reference/image/functions/imagepolygon.xml:1.12
phpdoc/en/reference/image/functions/imagepolygon.xml:1.13
--- phpdoc/en/reference/image/functions/imagepolygon.xml:1.12 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagepolygon.xml Fri Jan 19
19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.12 $ -->
+<!-- $Revision: 1.13 $ -->
<refentry id="function.imagepolygon">
<refnamediv>
<refname>imagepolygon</refname>
@@ -92,6 +92,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagepolygon.png" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagerotate.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/reference/image/functions/imagerotate.xml
diff -u phpdoc/en/reference/image/functions/imagerotate.xml:1.8
phpdoc/en/reference/image/functions/imagerotate.xml:1.9
--- phpdoc/en/reference/image/functions/imagerotate.xml:1.8 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagerotate.xml Fri Jan 19 19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<refentry id="function.imagerotate">
<refnamediv>
<refname>imagerotate</refname>
@@ -103,6 +103,7 @@
</para>
<programlisting role="php">
<![CDATA[
+<?php
// File and rotation
$filename = 'test.jpg';
$degrees = 180;
@@ -118,8 +119,13 @@
// Output
imagejpeg($rotate);
+?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagerotate.jpg" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagesetstyle.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc/en/reference/image/functions/imagesetstyle.xml
diff -u phpdoc/en/reference/image/functions/imagesetstyle.xml:1.10
phpdoc/en/reference/image/functions/imagesetstyle.xml:1.11
--- phpdoc/en/reference/image/functions/imagesetstyle.xml:1.10 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagesetstyle.xml Fri Jan 19
19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<refentry id="function.imagesetstyle">
<refnamediv>
<refname>imagesetstyle</refname>
@@ -77,6 +77,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagesetstyle.jpg" />
+ </screenshot>
</example>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagestring.xml?r1=1.13&r2=1.14&diff_format=u
Index: phpdoc/en/reference/image/functions/imagestring.xml
diff -u phpdoc/en/reference/image/functions/imagestring.xml:1.13
phpdoc/en/reference/image/functions/imagestring.xml:1.14
--- phpdoc/en/reference/image/functions/imagestring.xml:1.13 Sun Jan 14
03:15:21 2007
+++ phpdoc/en/reference/image/functions/imagestring.xml Fri Jan 19 19:49:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.13 $ -->
+<!-- $Revision: 1.14 $ -->
<refentry id="function.imagestring">
<refnamediv>
<refname>imagestring</refname>
@@ -92,6 +92,10 @@
?>
]]>
</programlisting>
+ &example.outputs.similar;
+ <screenshot>
+ <graphic fileref="figures/image.imagestring.png" />
+ </screenshot>
</example>
</para>
</refsect1>