cvs: phpdoc /en language-snippets.ent /en/reference/imagick/imagick orderedposterizeimage.xml polaroidimage.xml setimageopacity.xml

From: Date: Sat, 02 May 2009 10:20:44 +0000
Subject: cvs: phpdoc /en language-snippets.ent /en/reference/imagick/imagick orderedposterizeimage.xml polaroidimage.xml setimageopacity.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3928@lists.php.net to get a copy of this message
mkoppanen Sat May 2 10:20:44 2009 UTC Modified files: /phpdoc/en language-snippets.ent /phpdoc/en/reference/imagick/imagick orderedposterizeimage.xml polaroidimage.xml setimageopacity.xml Log: Version information, examples and removing undocumented func infos http://cvs.php.net/viewvc.cgi/phpdoc/en/language-snippets.ent?r1=1.262&r2=1.263&diff_format=u Index: phpdoc/en/language-snippets.ent diff -u phpdoc/en/language-snippets.ent:1.262 phpdoc/en/language-snippets.ent:1.263 --- phpdoc/en/language-snippets.ent:1.262 Tue Apr 28 22:32:30 2009 +++ phpdoc/en/language-snippets.ent Sat May 2 10:20:44 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.262 $ --> +<!-- $Revision: 1.263 $ --> <!-- Keep 'em sorted --> @@ -973,6 +973,8 @@ <!-- Imagick version infos --> <!ENTITY imagick.method.available.0x629 'This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer.'> +<!ENTITY imagick.method.available.0x631 'This method is available if Imagick has been compiled against ImageMagick version 6.3.1 or newer.'> +<!ENTITY imagick.method.available.0x632 'This method is available if Imagick has been compiled against ImageMagick version 6.3.2 or newer.'> <!ENTITY imagick.imagickexception.throw 'Throw an <classname>ImagickException</classname> on error.'> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/orderedposterizeimage.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/imagick/imagick/orderedposterizeimage.xml diff -u phpdoc/en/reference/imagick/imagick/orderedposterizeimage.xml:1.3 phpdoc/en/reference/imagick/imagick/orderedposterizeimage.xml:1.4 --- phpdoc/en/reference/imagick/imagick/orderedposterizeimage.xml:1.3 Mon Apr 20 21:56:34 2009 +++ phpdoc/en/reference/imagick/imagick/orderedposterizeimage.xml Sat May 2 10:20:44 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.imagick-orderedposterizeimage"> <refnamediv> <refname>Imagick::orderedPosterizeImage</refname> @@ -13,11 +13,11 @@ <methodparam><type>string</type><parameter>threshold_map</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>channel</parameter><initializer>Imagick::CHANNEL_ALL</initializer></methodparam> </methodsynopsis> - &warn.undocumented.func; + <para> Performs an ordered dither based on a number of pre-defined dithering threshold maps, but over multiple intensity levels, which can be different for different channels, - according to the input arguments. + according to the input arguments. &imagick.method.available.0x631; </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/polaroidimage.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/imagick/imagick/polaroidimage.xml diff -u phpdoc/en/reference/imagick/imagick/polaroidimage.xml:1.4 phpdoc/en/reference/imagick/imagick/polaroidimage.xml:1.5 --- phpdoc/en/reference/imagick/imagick/polaroidimage.xml:1.4 Mon Dec 31 19:13:47 2007 +++ phpdoc/en/reference/imagick/imagick/polaroidimage.xml Sat May 2 10:20:44 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.imagick-polaroidimage"> <refnamediv> <refname>Imagick::polaroidImage</refname> @@ -13,10 +13,9 @@ <methodparam><type>ImagickDraw</type><parameter>properties</parameter></methodparam> <methodparam><type>float</type><parameter>angle</parameter></methodparam> </methodsynopsis> - &warn.undocumented.func; + <para> - Simulates a Polaroid picture. This method is available if you compile - Imagick against ImageMagick 6.3.2 or later. + Simulates a Polaroid picture. &imagick.method.available.0x632; </para> </refsect1> @@ -51,6 +50,35 @@ </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>A <function>Imagick::polaroidImage</function> example</title> + <para> + An example of using Imagick::polaroidImage() + </para> + <programlisting role="php"> +<![CDATA[ +<?php +/* Create the object */ +$image = new Imagick('source.png'); + +/* Set the opacity */ +$image->polaroidImage(new ImagickDraw(), 25); + +/* output the image */ +header('Content-type: image/png'); +echo $image; + +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/setimageopacity.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/imagick/imagick/setimageopacity.xml diff -u phpdoc/en/reference/imagick/imagick/setimageopacity.xml:1.2 phpdoc/en/reference/imagick/imagick/setimageopacity.xml:1.3 --- phpdoc/en/reference/imagick/imagick/setimageopacity.xml:1.2 Mon Dec 31 19:13:47 2007 +++ phpdoc/en/reference/imagick/imagick/setimageopacity.xml Sat May 2 10:20:44 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.imagick-setimageopacity"> <refnamediv> <refname>Imagick::setImageOpacity</refname> @@ -12,11 +12,9 @@ <type>bool</type><methodname>Imagick::setImageOpacity</methodname> <methodparam><type>float</type><parameter>opacity</parameter></methodparam> </methodsynopsis> - &warn.undocumented.func; + <para> - Sets the image to the specified opacity level. This method is present if - Imagick is compiled against - ImageMagick 6.3.1 or later. + Sets the image to the specified opacity level. &imagick.method.available.0x631; </para> </refsect1>

« previous php.doc.cvs (#3928) next »