cvs: phpdoc /en/reference/imagick constants.xml imagick.xml /en/reference/imagick/imagick distortimage.xml
| From: | Mikko Koppanen | Date: | Sat, 06 Oct 2007 16:01:57 +0000 |
| Subject: | cvs: phpdoc /en/reference/imagick constants.xml imagick.xml /en/reference/imagick/imagick distortimage.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-161@lists.php.net to get a copy of this message | ||
mkoppanen Sat Oct 6 16:01:57 2007 UTC
Added files:
/phpdoc/en/reference/imagick/imagick distortimage.xml
Modified files:
/phpdoc/en/reference/imagick constants.xml imagick.xml
Log:
Added Imagick::distortImage documentation and distortion method constants.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/constants.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/imagick/constants.xml diff -u phpdoc/en/reference/imagick/constants.xml:1.11 phpdoc/en/reference/imagick/constants.xml:1.12 --- phpdoc/en/reference/imagick/constants.xml:1.11 Fri Sep 14 15:52:50 2007 +++ phpdoc/en/reference/imagick/constants.xml Sat Oct 6 16:01:57 2007 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.constants"> <refnamediv> <refname>Constants</refname> @@ -2951,7 +2951,7 @@ </listitem> </varlistentry> </variablelist> - <variablelist xml:id="imagick.constants.orientation"> + <variablelist xml:id="imagick.constants.orientation"> <title>Orientation constants (available if compiled against ImageMagick 6.3.4 or later)</title> <varlistentry> <term> @@ -3053,6 +3053,103 @@ </listitem> </varlistentry> </variablelist> + + <variablelist xml:id="imagick.constants.distortion"> + <title>Orientation constants (available if compiled against ImageMagick 6.3.6 or later)</title> + <varlistentry> + <term> + <constant>imagick::DISTORTION_UNDEFINED</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <constant>imagick::DISTORTION_AFFINE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <constant>imagick::DISTORTION_AFFINEPROJECTION</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <constant>imagick::DISTORTION_ARC</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <constant>imagick::DISTORTION_BILINEAR</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <constant>imagick::DISTORTION_PERSPECTIVE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>imagick::DISTORTION_PERSPECTIVEPROJECTION</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>imagick::DISTORTION_SCALEROTATETRANSLATE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick.xml?r1=1.17&r2=1.18&diff_format=u Index: phpdoc/en/reference/imagick/imagick.xml diff -u phpdoc/en/reference/imagick/imagick.xml:1.17 phpdoc/en/reference/imagick/imagick.xml:1.18 --- phpdoc/en/reference/imagick/imagick.xml:1.17 Sat Oct 6 15:39:59 2007 +++ phpdoc/en/reference/imagick/imagick.xml Sat Oct 6 16:01:57 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> +<!-- $Revision: 1.18 $ --> <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.imagick"> @@ -1115,6 +1115,7 @@ &reference.imagick.imagick.mosaicimages; &reference.imagick.imagick.motionblurimage; &reference.imagick.imagick.negateimage; +&reference.imagick.imagick.distortimage; &reference.imagick.imagick.newimage; &reference.imagick.imagick.setimage; &reference.imagick.imagick.setimageopacity; http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/distortimage.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/imagick/imagick/distortimage.xml +++ phpdoc/en/reference/imagick/imagick/distortimage.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.imagick-distortimage"> <refnamediv> <refname>Imagick::distortImage</refname> <refpurpose>Distorts an image using various distortion methods</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>Imagick::distortImage</methodname> <methodparam><type>int</type><parameter>method</parameter></methodparam> <methodparam><type>array</type><parameter>arguments</parameter></methodparam> <methodparam><type>bool</type><parameter>bestfit</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> Distorts an image using various distortion methods, by mapping color lookups of the source image to a new destination image usally of the same size as the source image, unless 'bestfit' is set to true. If 'bestfit' is enabled, and distortion allows it, the destination image is adjusted to ensure the whole source 'image' will just fit within the final destination image, which will be sized and offset accordingly. Also in many cases the virtual offset of the source image will be taken into account in the mapping. This functionality is present if Imagick is compiled against ImageMagick 6.3.6 or later. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>method</parameter></term> <listitem> <para> The method of image distortion. See <link linkend="imagick.constants.distortion">distortion constants</link> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>arguments</parameter></term> <listitem> <para> The arguments for this distortion method </para> </listitem> </varlistentry> <varlistentry> <term><parameter>bestfit</parameter></term> <listitem> <para> Attempt to resize destination to fit distorted source </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &imagick.return.success; </para> </refsect1> <refsect1 role="errors"> &reftitle.errors; <para> &imagick.imagick.throws; </para> </refsect1> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Using <function>Imagick::distortImage</function>:</title> <para> Distort an image and write it to the disk. </para> <programlisting role="php"> <![CDATA[ <?php $im = new imagick( "example.jpg" ); $im->distortImage( Imagick::DISTORTION_PERSPECTIVE, array( 7,40, 4,30, 4,124, 4,123, 85,122, 100,123, 85,2, 100,30 ), true ); $im->writeImage( "example_out.jpg" ); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>Imagick::blurImage</function></member> <member><function>Imagick::motionBlurImage</function></member> <member><function>Imagick::radialBlurImage</function></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/constants.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/imagick/constants.xml diff -u phpdoc/en/reference/imagick/constants.xml:1.11 phpdoc/en/reference/imagick/constants.xml:1.12 --- phpdoc/en/reference/imagick/constants.xml:1.11 Fri Sep 14 15:52:50 2007 +++ phpdoc/en/reference/imagick/constants.xml Sat Oct 6 16:01:57 2007 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.constants"> <refnamediv> <refname>Constants</refname> @@ -2951,7 +2951,7 @@ </listitem> </varlistentry> </variablelist> - <variablelist xml:id="imagick.constants.orientation"> + <variablelist xml:id="imagick.constants.orientation"> <title>Orientation constants (available if compiled against ImageMagick 6.3.4 or later)</title> <varlistentry> <term> @@ -3053,6 +3053,103 @@ </listitem> </varlistentry> </variablelist> + + <variablelist xml:id="imagick.constants.distortion"> + <title>Orientation constants (available if compiled against ImageMagick 6.3.6 or later)</title> + <varlistentry> + <term> + <constant>imagick::DISTORTION_UNDEFINED</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <constant>imagick::DISTORTION_AFFINE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <constant>imagick::DISTORTION_AFFINEPROJECTION</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <constant>imagick::DISTORTION_ARC</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <constant>imagick::DISTORTION_BILINEAR</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + + <varlistentry> + <term> + <constant>imagick::DISTORTION_PERSPECTIVE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>imagick::DISTORTION_PERSPECTIVEPROJECTION</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term> + <constant>imagick::DISTORTION_SCALEROTATETRANSLATE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + + </simpara> + </listitem> + </varlistentry> + </variablelist> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick.xml?r1=1.17&r2=1.18&diff_format=u Index: phpdoc/en/reference/imagick/imagick.xml diff -u phpdoc/en/reference/imagick/imagick.xml:1.17 phpdoc/en/reference/imagick/imagick.xml:1.18 --- phpdoc/en/reference/imagick/imagick.xml:1.17 Sat Oct 6 15:39:59 2007 +++ phpdoc/en/reference/imagick/imagick.xml Sat Oct 6 16:01:57 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> +<!-- $Revision: 1.18 $ --> <!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.imagick"> @@ -1115,6 +1115,7 @@ &reference.imagick.imagick.mosaicimages; &reference.imagick.imagick.motionblurimage; &reference.imagick.imagick.negateimage; +&reference.imagick.imagick.distortimage; &reference.imagick.imagick.newimage; &reference.imagick.imagick.setimage; &reference.imagick.imagick.setimageopacity; http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/imagick/imagick/distortimage.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/imagick/imagick/distortimage.xml +++ phpdoc/en/reference/imagick/imagick/distortimage.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.imagick-distortimage"> <refnamediv> <refname>Imagick::distortImage</refname> <refpurpose>Distorts an image using various distortion methods</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>Imagick::distortImage</methodname> <methodparam><type>int</type><parameter>method</parameter></methodparam> <methodparam><type>array</type><parameter>arguments</parameter></methodparam> <methodparam><type>bool</type><parameter>bestfit</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> Distorts an image using various distortion methods, by mapping color lookups of the source image to a new destination image usally of the same size as the source image, unless 'bestfit' is set to true. If 'bestfit' is enabled, and distortion allows it, the destination image is adjusted to ensure the whole source 'image' will just fit within the final destination image, which will be sized and offset accordingly. Also in many cases the virtual offset of the source image will be taken into account in the mapping. This functionality is present if Imagick is compiled against ImageMagick 6.3.6 or later. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>method</parameter></term> <listitem> <para> The method of image distortion. See <link linkend="imagick.constants.distortion">distortion constants</link> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>arguments</parameter></term> <listitem> <para> The arguments for this distortion method </para> </listitem> </varlistentry> <varlistentry> <term><parameter>bestfit</parameter></term> <listitem> <para> Attempt to resize destination to fit distorted source </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &imagick.return.success; </para> </refsect1> <refsect1 role="errors"> &reftitle.errors; <para> &imagick.imagick.throws; </para> </refsect1> <!-- Use when a CHANGELOG exists <refsect1 role="changelog"> &reftitle.changelog; <para> <informaltable> <tgroup cols="2"> <thead> <row> <entry>&Version;</entry> <entry>&Description;</entry> </row> </thead> <tbody> <row> <entry>Enter the PHP version of change here</entry> <entry>Description of change</entry> </row> </tbody> </tgroup> </informaltable> </para> </refsect1> --> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Using <function>Imagick::distortImage</function>:</title> <para> Distort an image and write it to the disk. </para> <programlisting role="php"> <![CDATA[ <?php $im = new imagick( "example.jpg" ); $im->distortImage( Imagick::DISTORTION_PERSPECTIVE, array( 7,40, 4,30, 4,124, 4,123, 85,122, 100,123, 85,2, 100,30 ), true ); $im->writeImage( "example_out.jpg" ); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>Imagick::blurImage</function></member> <member><function>Imagick::motionBlurImage</function></member> <member><function>Imagick::radialBlurImage</function></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->