svn: /phpdoc/ru/trunk/reference/cairo/ cairomatrix/construct.xml cairomatrix/initidentity.xml cairomatrix/inittranslate.xml cairomatrix/invert.xml cairomatrix/multiply.xml cairomatrix/rotate.xml cairomatrix/scale.xml cairosurface/createsimilar.xml
[email protected] (Sergey Panteleev)
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
sergey Tue, 24 Mar 2020 09:59:21 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=349518
Log:
docs(ru): New translation
Changed paths:
A phpdoc/ru/trunk/reference/cairo/cairomatrix/construct.xml
A phpdoc/ru/trunk/reference/cairo/cairomatrix/initidentity.xml
A phpdoc/ru/trunk/reference/cairo/cairomatrix/inittranslate.xml
A phpdoc/ru/trunk/reference/cairo/cairomatrix/invert.xml
A phpdoc/ru/trunk/reference/cairo/cairomatrix/multiply.xml
A phpdoc/ru/trunk/reference/cairo/cairomatrix/rotate.xml
A phpdoc/ru/trunk/reference/cairo/cairomatrix/scale.xml
A phpdoc/ru/trunk/reference/cairo/cairosurface/createsimilar.xml
svn-diffs-349518.txt
(text/x-diff, 34.2 KB)
Added: phpdoc/ru/trunk/reference/cairo/cairomatrix/construct.xml =================================================================== --- phpdoc/ru/trunk/reference/cairo/cairomatrix/construct.xml (rev 0) +++ phpdoc/ru/trunk/reference/cairo/cairomatrix/construct.xml 2020-03-24 09:59:21 UTC (rev 349518) @@ -0,0 +1,170 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> +<!-- EN-Revision: 322055 Maintainer: sergey Status: ready --> +<!-- Reviewed: no --> + +<refentry xml:id="cairomatrix.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>CairoMatrix::__construct</refname> + <refname>cairo_matrix_init</refname> + <refpurpose>Создает новый объект CairoMatrix</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <para>&style.oop; (метод):</para> + <methodsynopsis> + <modifier>public</modifier> <methodname>CairoMatrix::__construct</methodname> + <methodparam choice="opt"><type>float</type><parameter>xx</parameter><initializer>1.0</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>yx</parameter><initializer>0.0</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>xy</parameter><initializer>0.0</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>yy</parameter><initializer>1.0</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>x0</parameter><initializer>0.0</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>y0</parameter><initializer>0.0</initializer></methodparam> + </methodsynopsis> + <para>&style.procedural;:</para> + <methodsynopsis> + <type>object</type><methodname>cairo_matrix_init</methodname> + <methodparam choice="opt"><type>float</type><parameter>xx</parameter><initializer>1.0</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>yx</parameter><initializer>0.0</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>xy</parameter><initializer>0.0</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>yy</parameter><initializer>1.0</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>x0</parameter><initializer>0.0</initializer></methodparam> + <methodparam choice="opt"><type>float</type><parameter>y0</parameter><initializer>0.0</initializer></methodparam> + </methodsynopsis> + <para> + Возвращает новый объект CairoMatrix. Матрицы используются в cairo для преобразования между различными координатными пространствами. + Устанавливает матрицу как аффинное преобразование, заданное как xx, yx, xy, yy, x0, y0. Преобразование задается как: + x_new = xx * x + xy * y + x0; и y_new = yx * x + yy * y + y0; + </para> + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>xx</parameter></term> + <listitem> + <para> + Компонент xx аффинного преобразования + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>yx</parameter></term> + <listitem> + <para> + Компонент yx аффинного преобразования + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>xy</parameter></term> + <listitem> + <para> + Компонент xy аффинного преобразования + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>yy</parameter></term> + <listitem> + <para> + Компонент yy аффинного преобразования + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>x0</parameter></term> + <listitem> + <para> + Перевод компонента X аффинного преобразования + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>y0</parameter></term> + <listitem> + <para> + Перевод компонента Y аффинного преобразования + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Возвращает новый объект CairoMatrix, который можно использовать с поверхностями, контекстами и шаблонами. + </para> + </refsect1> + +<refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>&style.oop;</title> + <programlisting role="php"> +<![CDATA[ +<?php +/* Создать новую Матрицу */ +$matrix = new CairoMatrix(1.0, 0.5, 0.0, 1.0, 0.0, 0.0); +?> +]]> + </programlisting> + </example> + </para> + <para> + <example> + <title>&style.procedural;</title> + <programlisting role="php"> +<![CDATA[ +<?php +/* Создать новую Матрицу */ +$matrix = cairo_matrix_init(1.0, 0.5, 0.0, 1.0, 0.0, 0.0); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><methodname>CairoMatrix::initIdentity</methodname></member> + <member><methodname>CairoMatrix::initRotate</methodname></member> + <member><methodname>CairoMatrix::initScale</methodname></member> + <member><methodname>CairoMatrix::initTranslate</methodname></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:"~/.phpdoc/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 +--> Property changes on: phpdoc/ru/trunk/reference/cairo/cairomatrix/construct.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL \ No newline at end of property Added: phpdoc/ru/trunk/reference/cairo/cairomatrix/initidentity.xml =================================================================== --- phpdoc/ru/trunk/reference/cairo/cairomatrix/initidentity.xml (rev 0) +++ phpdoc/ru/trunk/reference/cairo/cairomatrix/initidentity.xml 2020-03-24 09:59:21 UTC (rev 349518) @@ -0,0 +1,108 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> +<!-- EN-Revision: 322055 Maintainer: sergey Status: ready --> +<!-- Reviewed: no --> + +<refentry xml:id="cairomatrix.initidentity" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>CairoMatrix::initIdentity</refname> + <refname>cairo_matrix_init_identity</refname> + <refpurpose>Создает новую идентификационную матрицу</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <para>&style.oop; (метод):</para> + <methodsynopsis> + <modifier>public</modifier> <modifier>static</modifier> <type>void</type><methodname>CairoMatrix::initIdentity</methodname> + <void /> + </methodsynopsis> + <para>&style.procedural;:</para> + <methodsynopsis> + <type>object</type><methodname>cairo_matrix_init_identity</methodname> + <void /> + </methodsynopsis> + <para> + Создает новую матрицу, которая является преобразованием идентичности. Преобразование идентичности + означает, что исходные данные копируются в данные назначения + без изменений + </para> + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + &no.function.parameters; + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Возвращает новый объект CairoMatrix, который можно использовать с поверхностями, контекстами и шаблонами. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>&style.oop;</title> + <programlisting role="php"> +<![CDATA[ +<?php +/* Создать новую матрицу */ +$matrix = CairoMatrix::initIdentity(); +?> +]]> + </programlisting> + </example> + </para> + <para> + <example> + <title>&style.procedural;</title> + <programlisting role="php"> +<![CDATA[ +<?php +/* Создать новую матрицу */ +$matrix = cairo_matrix_init_identity(); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><methodname>CairoMatrix::__construct</methodname></member> + <member><methodname>CairoMatrix::initRotate</methodname></member> + <member><methodname>CairoMatrix::initScale</methodname></member> + <member><methodname>CairoMatrix::initTranslate</methodname></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:"~/.phpdoc/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 +--> Property changes on: phpdoc/ru/trunk/reference/cairo/cairomatrix/initidentity.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL \ No newline at end of property Added: phpdoc/ru/trunk/reference/cairo/cairomatrix/inittranslate.xml =================================================================== --- phpdoc/ru/trunk/reference/cairo/cairomatrix/inittranslate.xml (rev 0) +++ phpdoc/ru/trunk/reference/cairo/cairomatrix/inittranslate.xml 2020-03-24 09:59:21 UTC (rev 349518) @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> +<!-- EN-Revision: 322055 Maintainer: sergey Status: ready --> +<!-- Reviewed: no --> + +<refentry xml:id="cairomatrix.inittranslate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>CairoMatrix::initTranslate</refname> + <refname>cairo_matrix_init_translate</refname> + <refpurpose>Создает новую матрицу перевода</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <para>&style.oop; (method):</para> + <methodsynopsis> + <modifier>public</modifier> <modifier>static</modifier> <type>void</type><methodname>CairoMatrix::initTranslate</methodname> + <methodparam><type>float</type><parameter>tx</parameter></methodparam> + <methodparam><type>float</type><parameter>ty</parameter></methodparam> + </methodsynopsis> + <para>&style.procedural;:</para> + <methodsynopsis> + <type>object</type><methodname>cairo_matrix_init_translate</methodname> + <methodparam><type>float</type><parameter>tx</parameter></methodparam> + <methodparam><type>float</type><parameter>ty</parameter></methodparam> + </methodsynopsis> + <para> + Создает новую матрицу для преобразования, которое переводит по tx и ty + в направления X и Y соответственно. + </para> + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>tx</parameter></term> + <listitem> + <para> + Сумма для перевода в направлении X + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>ty</parameter></term> + <listitem> + <para> + Сумма для перевода в направлении Y + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Возвращает новый объект CairoMatrix, который можно использовать с поверхностями, контекстами и шаблонами. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>&style.oop;</title> + <programlisting role="php"> +<![CDATA[ +<?php +/* Создать новую матрицу */ +$matrix = CairoMatrix::initTranslate(1.0, 2.0); +?> +]]> + </programlisting> + </example> + </para> + <para> + <example> + <title>&style.procedural;</title> + <programlisting role="php"> +<![CDATA[ +<?php +/* Создать новую матрицу */ +$matrix = cairo_matrix_init_translate(1.0, 2.0); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><methodname>CairoMatrix::__construct</methodname></member> + <member><methodname>CairoMatrix::initIdentity</methodname></member> + <member><methodname>CairoMatrix::initRotate</methodname></member> + <member><methodname>CairoMatrix::initScale</methodname></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:"~/.phpdoc/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 +--> Property changes on: phpdoc/ru/trunk/reference/cairo/cairomatrix/inittranslate.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL \ No newline at end of property Added: phpdoc/ru/trunk/reference/cairo/cairomatrix/invert.xml =================================================================== --- phpdoc/ru/trunk/reference/cairo/cairomatrix/invert.xml (rev 0) +++ phpdoc/ru/trunk/reference/cairo/cairomatrix/invert.xml 2020-03-24 09:59:21 UTC (rev 349518) @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> +<!-- EN-Revision: 317663 Maintainer: sergey Status: ready --> +<!-- Reviewed: no --> + +<refentry xml:id="cairomatrix.invert" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>CairoMatrix::invert</refname> + <refpurpose>Назначение invert</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <modifier>public</modifier> <type>void</type><methodname>CairoMatrix::invert</methodname> + <void /> + </methodsynopsis> + <para> + Описание метода. + </para> + + &warn.undocumented.func; + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + &no.function.parameters; + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Описание... + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Пример использования <methodname>CairoMatrix::invert</methodname></title> + <programlisting role="php"> +<![CDATA[ +<?php +/* ... */ +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +... +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><methodname>Classname::Method</methodname></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:"~/.phpdoc/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 +--> Property changes on: phpdoc/ru/trunk/reference/cairo/cairomatrix/invert.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL \ No newline at end of property Added: phpdoc/ru/trunk/reference/cairo/cairomatrix/multiply.xml =================================================================== --- phpdoc/ru/trunk/reference/cairo/cairomatrix/multiply.xml (rev 0) +++ phpdoc/ru/trunk/reference/cairo/cairomatrix/multiply.xml 2020-03-24 09:59:21 UTC (rev 349518) @@ -0,0 +1,110 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> +<!-- EN-Revision: 317663 Maintainer: sergey Status: ready --> +<!-- Reviewed: no --> + +<refentry xml:id="cairomatrix.multiply" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>CairoMatrix::multiply</refname> + <refpurpose>Назначение multiply</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <modifier>public</modifier> <modifier>static</modifier> <type>CairoMatrix</type><methodname>CairoMatrix::multiply</methodname> + <methodparam><type>CairoMatrix</type><parameter>matrix1</parameter></methodparam> + <methodparam><type>CairoMatrix</type><parameter>matrix2</parameter></methodparam> + </methodsynopsis> + <para> + Описание метода. + </para> + + &warn.undocumented.func; + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>matrix1</parameter></term> + <listitem> + <para> + Описание... + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>matrix2</parameter></term> + <listitem> + <para> + Описание... + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Описание... + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Пример использования <methodname>CairoMatrix::multiply</methodname></title> + <programlisting role="php"> +<![CDATA[ +<?php +/* ... */ +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +... +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><methodname>Classname::Method</methodname></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:"~/.phpdoc/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 +--> Property changes on: phpdoc/ru/trunk/reference/cairo/cairomatrix/multiply.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL \ No newline at end of property Added: phpdoc/ru/trunk/reference/cairo/cairomatrix/rotate.xml =================================================================== --- phpdoc/ru/trunk/reference/cairo/cairomatrix/rotate.xml (rev 0) +++ phpdoc/ru/trunk/reference/cairo/cairomatrix/rotate.xml 2020-03-24 09:59:21 UTC (rev 349518) @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> +<!-- EN-Revision: 344095 Maintainer: sergey Status: ready --> +<!-- Reviewed: no --> + +<refentry xml:id="cairomatrix.rotate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>CairoMatrix::rotate</refname> + <refname>cairo_matrix_rotate</refname> + <refpurpose>Назначение rotate</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <para>&style.oop; (метод):</para> + <methodsynopsis> + <modifier>public</modifier> <type>void</type><methodname>CairoMatrix::rotate</methodname> + <methodparam><type>float</type><parameter>radians</parameter></methodparam> + </methodsynopsis> + <para>&style.procedural;:</para> + <methodsynopsis> + <type>void</type><methodname>cairo_matrix_rotate</methodname> + <methodparam><type>CairoContext</type><parameter>context</parameter></methodparam> + <methodparam><type>string</type><parameter>radians</parameter></methodparam> + </methodsynopsis> + <para> + Описание метода. + </para> + + &warn.undocumented.func; + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>context</parameter></term> + <listitem> + <para> + Описание... + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>radians</parameter></term> + <listitem> + <para> + Описание... + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Описание... + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>&style.oop;</title> + <programlisting role="php"> +<![CDATA[ +<?php +/* ... */ +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +... +]]> + </screen> + </example> + </para> + <para> + <example> + <title>&style.procedural;</title> + <programlisting role="php"> +<![CDATA[ +<?php +/* ... */ +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +... +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><methodname>Classname::Method</methodname></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:"~/.phpdoc/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 +--> Property changes on: phpdoc/ru/trunk/reference/cairo/cairomatrix/rotate.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL \ No newline at end of property Added: phpdoc/ru/trunk/reference/cairo/cairomatrix/scale.xml =================================================================== --- phpdoc/ru/trunk/reference/cairo/cairomatrix/scale.xml (rev 0) +++ phpdoc/ru/trunk/reference/cairo/cairomatrix/scale.xml 2020-03-24 09:59:21 UTC (rev 349518) @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> +<!-- EN-Revision: 322055 Maintainer: sergey Status: ready --> +<!-- Reviewed: no --> + +<refentry xml:id="cairomatrix.scale" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>CairoMatrix::scale</refname> + <refname>cairo_matrix_scale</refname> + <refpurpose>Применяет масштабирование к матрице</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <para>&style.oop; (method):</para> + <methodsynopsis> + <modifier>public</modifier> <type>void</type><methodname>CairoMatrix::scale</methodname> + <methodparam><type>float</type><parameter>sx</parameter></methodparam> + <methodparam><type>float</type><parameter>sy</parameter></methodparam> + </methodsynopsis> + <para>&style.procedural;:</para> + <methodsynopsis> + <type>void</type><methodname>cairo_matrix_scale</methodname> + <methodparam><type>CairoContext</type><parameter>context</parameter></methodparam> + <methodparam><type>float</type><parameter>sx</parameter></methodparam> + <methodparam><type>float</type><parameter>sy</parameter></methodparam> + </methodsynopsis> + <para> + Применяет масштабирование по sx, sy к преобразованию в матрице. Эффект + нового преобразования заключается в том, чтобы сначала масштабировать координаты по sx и sy, а затем + применить исходное преобразование к координатам. + </para> + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>matrix</parameter></term> + <listitem> + <para> + Только процедурный стиль - экземпляр CairoMatrix + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>sx</parameter></term> + <listitem> + <para> + Коэффициент масштабирования в направлении X + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>sy</parameter></term> + <listitem> + <para> + Коэффициент масштабирования в направлении Y + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>&style.oop;</title> + <programlisting role="php"> +<![CDATA[ +<?php +/* Применить масштабирование к матрице */ +$matrix = new CairoMatrix(1.0, 0.5, 0.0, 1.0, 0.0, 0.0); +$matrix->scale(0.2, 2.0); +?> +]]> + </programlisting> + </example> + </para> + <para> + <example> + <title>&style.procedural;</title> + <programlisting role="php"> +<![CDATA[ +<?php +/* Применить масштабирование к матрице */ +$matrix = cairo_matrix_init(1.0, 0.5, 0.0, 1.0, 0.0, 0.0); +cairo_matrix_scale($matrix, 0.2, 2.0); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><methodname>CairoMatrix::initScale</methodname></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:"~/.phpdoc/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 +--> Property changes on: phpdoc/ru/trunk/reference/cairo/cairomatrix/scale.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL \ No newline at end of property Added: phpdoc/ru/trunk/reference/cairo/cairosurface/createsimilar.xml =================================================================== --- phpdoc/ru/trunk/reference/cairo/cairosurface/createsimilar.xml (rev 0) +++ phpdoc/ru/trunk/reference/cairo/cairosurface/createsimilar.xml 2020-03-24 09:59:21 UTC (rev 349518) @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> +<!-- EN-Revision: 297109 Maintainer: sergey Status: ready --> +<!-- Reviewed: no --> + +<refentry xml:id="cairosurface.createsimilar" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>CairoSurface::createSimilar</refname> + <refpurpose>Назначение createSimilar</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <modifier>public</modifier> <type>void</type><methodname>CairoSurface::createSimilar</methodname> + <methodparam><type>CairoSurface</type><parameter>other</parameter></methodparam> + <methodparam><type>int</type><parameter>content</parameter></methodparam> + <methodparam><type>string</type><parameter>width</parameter></methodparam> + <methodparam><type>string</type><parameter>height</parameter></methodparam> + </methodsynopsis> + <para> + Создает новую поверхность, максимально совместимую с существующей поверхностью. Например, новая поверхность будет иметь то же разрешение и параметры шрифта, что и другие. Как правило, новая поверхность также будет использовать тот же беэкэнд, что и другие, если это невозможно по какой-то причине. Тип возвращаемой поверхности может быть проверен с помощью CairoSurface::getType(). + + Изначально все содержимое поверхности имеет значение 0 (прозрачное, если содержимое имеет прозрачность, в противном случае черный). + </para> + + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>other</parameter></term> + <listitem> + <para> + Существующая поверхность, используемая для выбора бекэнда новой поверхности + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>content</parameter></term> + <listitem> + <para> + Содержание для новой поверхности. Смотрите класс CairoContent для возможных значений. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>width</parameter></term> + <listitem> + <para> + Ширина новой поверхности (в единицах измерения пространства устройства). + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>height</parameter></term> + <listitem> + <para> + Высота новой поверхности (в единицах измерения пространства устройства). + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Новый CairoSurface + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Пример использования <methodname>CairoSurface::createSimilar</methodname></title> + <programlisting role="php"> +<![CDATA[ +<?php +/* ... */ +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +... +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><methodname>CairoContent</methodname></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:"~/.phpdoc/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 +--> Property changes on: phpdoc/ru/trunk/reference/cairo/cairosurface/createsimilar.xml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL \ No newline at end of property