svn: /phpdoc/fa/trunk/ language/predefined/exception/construct.xml reference/cairo/cairocontext/moveto.xml reference/cairo/cairocontext/newpath.xml reference/calendar/functions/easter-date.xml reference/calendar/functions/easter-days.xml reference/hwapi/functions/hwapi-info.xml reference/hwapi/functions/hwapi-insert.xml reference/hwapi/functions/hwapi-insertanchor.xml
[email protected] (Pedram Salehpoor)
| Newsgroups | php.doc.fa |
|---|---|
| Message-ID | <[email protected]> |
psalehpoor Thu, 06 May 2010 06:05:29 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=299053
Log:
update
Changed paths:
U phpdoc/fa/trunk/language/predefined/exception/construct.xml
U phpdoc/fa/trunk/reference/cairo/cairocontext/moveto.xml
U phpdoc/fa/trunk/reference/cairo/cairocontext/newpath.xml
U phpdoc/fa/trunk/reference/calendar/functions/easter-date.xml
U phpdoc/fa/trunk/reference/calendar/functions/easter-days.xml
U phpdoc/fa/trunk/reference/hwapi/functions/hwapi-info.xml
U phpdoc/fa/trunk/reference/hwapi/functions/hwapi-insert.xml
U phpdoc/fa/trunk/reference/hwapi/functions/hwapi-insertanchor.xml
svn-diffs-299053.txt
(text/x-diff, 10.8 KB)
Modified: phpdoc/fa/trunk/language/predefined/exception/construct.xml
===================================================================
--- phpdoc/fa/trunk/language/predefined/exception/construct.xml 2010-05-06 05:49:31 UTC (rev 299052)
+++ phpdoc/fa/trunk/language/predefined/exception/construct.xml 2010-05-06 06:05:29 UTC (rev 299053)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 288721 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 298918 Maintainer: pedram Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
@@ -15,6 +15,7 @@
<modifier>public</modifier> <methodname>Exception::__construct</methodname>
<methodparam choice="opt"><type>string</type><parameter>message</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>code</parameter></methodparam>
+ <methodparam choice="opt"><type>Exception</type><parameter>previous</parameter><initializer>&null;</initializer></methodparam>
</constructorsynopsis>
<para>
استثنا را میسازد.
Modified: phpdoc/fa/trunk/reference/cairo/cairocontext/moveto.xml
===================================================================
--- phpdoc/fa/trunk/reference/cairo/cairocontext/moveto.xml 2010-05-06 05:49:31 UTC (rev 299052)
+++ phpdoc/fa/trunk/reference/cairo/cairocontext/moveto.xml 2010-05-06 06:05:29 UTC (rev 299053)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 294366 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 299026 Maintainer: pedram Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
@@ -26,10 +26,10 @@
<methodparam><type>string</type><parameter>y</parameter></methodparam>
</methodsynopsis>
<para>
- Description here.
+ شروع زیرمسیر جدید. پس از این فراخوانی نقطه فعلی (x, y) خواهد بود.
</para>
- &warn.undocumented.func;
+
</refsect1>
@@ -41,7 +41,7 @@
<term><parameter>context</parameter></term>
<listitem>
<para>
- Description...
+ شی صحیح CairoContext.
</para>
</listitem>
</varlistentry>
@@ -49,7 +49,7 @@
<term><parameter>x</parameter></term>
<listitem>
<para>
- Description...
+ مختصات x موقعیت جدید.
</para>
</listitem>
</varlistentry>
@@ -57,7 +57,7 @@
<term><parameter>y</parameter></term>
<listitem>
<para>
- Description...
+ مختصات y موقعیت جدید.
</para>
</listitem>
</varlistentry>
@@ -68,20 +68,39 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Description...
+ &return.void;
</para>
</refsect1>
-
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
- <title>Object oriented style</title>
+ <title>شیوه شیگرا</title>
<programlisting role="php">
<![CDATA[
<?php
-/* ... */
-?>
+
+$s = new CairoImageSurface(CairoFormat::ARGB32, 100, 100);
+$c = new CairoContext($s);
+
+$c->setSourceRgb(0, 0, 0);
+$c->paint();
+
+// Move 10 pixels across, and 10 pixels down
+$c->moveTo(10, 10);
+$c->lineTo(90, 90);
+$c->setLineWidth(2);
+$c->setSourceRgb(1, 1, 1);
+$c->stroke();
+
+// Move 90 pixels across, and 10 pixels down
+$c->moveTo(90, 10);
+$c->lineTo(10, 90);
+$c->setLineWidth(2);
+$c->setSourceRgb(1, 1, 1);
+$c->stroke();
+
+$s->writeToPng(dirname(__FILE__) . '/CairoContext_moveTo.png');
]]>
</programlisting>
&example.outputs.similar;
@@ -94,12 +113,32 @@
</para>
<para>
<example>
- <title>Procedural style</title>
+ <title>شیوه رویهای</title>
<programlisting role="php">
<![CDATA[
<?php
-/* ... */
-?>
+
+$s = cairo_image_surface_create(CAIRO_SURFACE_TYPE_IMAGE, 100, 100);
+$c = cairo_create($s);
+
+cairo_set_source_rgb($c, 0, 0, 0);
+cairo_paint($c);
+
+// Move 10 pixels across, and 10 pixels down
+cairo_move_to($c, 10, 10);
+cairo_line_to($c, 90, 90);
+cairo_set_line_width($c, 2);
+cairo_set_source_rgb($c, 1, 1, 1);
+cairo_stroke($c);
+
+// Move 90 pixels across, and 10 pixels down
+cairo_move_to($c, 90, 10);
+cairo_line_to($c, 10, 90);
+cairo_set_line_width($c, 2);
+cairo_set_source_rgb($c, 1, 1, 1);
+cairo_stroke($c);
+
+cairo_surface_write_to_png($s, dirname(__FILE__) . '/cairo_move_to.png');
]]>
</programlisting>
&example.outputs.similar;
@@ -112,6 +151,7 @@
</para>
</refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
Modified: phpdoc/fa/trunk/reference/cairo/cairocontext/newpath.xml
===================================================================
--- phpdoc/fa/trunk/reference/cairo/cairocontext/newpath.xml 2010-05-06 05:49:31 UTC (rev 299052)
+++ phpdoc/fa/trunk/reference/cairo/cairocontext/newpath.xml 2010-05-06 06:05:29 UTC (rev 299053)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 294366 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 299026 Maintainer: pedram Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
@@ -23,10 +23,9 @@
<methodparam><type>CairoContext</type><parameter>context</parameter></methodparam>
</methodsynopsis>
<para>
- Description here.
+ پاکسازی مسیر فعلی. پس از این فراخوانی مسیری نخواهد بود و نقطه فعلی وجود نخواهد داشت.
</para>
-
- &warn.undocumented.func;
+
</refsect1>
@@ -38,7 +37,7 @@
<term><parameter>context</parameter></term>
<listitem>
<para>
- Description...
+ شی صحیح CairoContext.
</para>
</listitem>
</varlistentry>
@@ -49,46 +48,33 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Description...
+ &return.void;
</para>
</refsect1>
-
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
- <title>Object oriented style</title>
+ <title>شیوه شیگرا</title>
<programlisting role="php">
<![CDATA[
<?php
-/* ... */
-?>
+// [...]
+CairoContext::newPath();
]]>
- </programlisting>
- &example.outputs.similar;
- <screen>
-<![CDATA[
-...
-]]>
- </screen>
+ </programlisting>
</example>
</para>
<para>
<example>
- <title>Procedural style</title>
+ <title>شیوه رویهای</title>
<programlisting role="php">
<![CDATA[
<?php
-/* ... */
-?>
+// [...]
+cairo_new_path($context);
]]>
- </programlisting>
- &example.outputs.similar;
- <screen>
-<![CDATA[
-...
-]]>
- </screen>
+ </programlisting>
</example>
</para>
</refsect1>
@@ -97,7 +83,8 @@
&reftitle.seealso;
<para>
<simplelist>
- <member><methodname>Classname::Method</methodname></member>
+ <member><methodname>CairoContext::appendPath</methodname></member>
+ <member><methodname>CairoContext::closePath</methodname></member>
</simplelist>
</para>
</refsect1>
Modified: phpdoc/fa/trunk/reference/calendar/functions/easter-date.xml
===================================================================
--- phpdoc/fa/trunk/reference/calendar/functions/easter-date.xml 2010-05-06 05:49:31 UTC (rev 299052)
+++ phpdoc/fa/trunk/reference/calendar/functions/easter-date.xml 2010-05-06 06:05:29 UTC (rev 299053)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 298915 Maintainer: pedram Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.easter-date" xmlns="http://docbook.org/ns/docbook">
@@ -36,10 +36,7 @@
XIII در اکتبر 1582 و در انگلستان و مستعمرات آن در سپتامبر
1752) دو فاکتور اصلاحی برای دقیقتر کردن زنجیره اضافه شده است.
</para>
- <para>
- (کد براساس برنامه C توسط Simon Kershaw,
- <webmaster at ely.anglican dot org> است)
- </para>
+
</refsect1>
<refsect1 role="parameters">
Modified: phpdoc/fa/trunk/reference/calendar/functions/easter-days.xml
===================================================================
--- phpdoc/fa/trunk/reference/calendar/functions/easter-days.xml 2010-05-06 05:49:31 UTC (rev 299052)
+++ phpdoc/fa/trunk/reference/calendar/functions/easter-days.xml 2010-05-06 06:05:29 UTC (rev 299053)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 298915 Maintainer: pedram Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.easter-days" xmlns="http://docbook.org/ns/docbook">
@@ -38,10 +38,7 @@
XIII در اکتبر 1582 و در انگلستان و مستعمرات آن در سپتامبر
1752) دو فاکتور اصلاحی برای دقیقتر کردن زنجیره اضافه شده است.
</para>
- <para>
- (کد براساس برنامه C توسط Simon Kershaw,
- <webmaster at ely.anglican dot org> است)
- </para>
+
</refsect1>
<refsect1 role="parameters">
Modified: phpdoc/fa/trunk/reference/hwapi/functions/hwapi-info.xml
===================================================================
--- phpdoc/fa/trunk/reference/hwapi/functions/hwapi-info.xml 2010-05-06 05:49:31 UTC (rev 299052)
+++ phpdoc/fa/trunk/reference/hwapi/functions/hwapi-info.xml 2010-05-06 06:05:29 UTC (rev 299053)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 297078 Maintainer: pedram Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.hwapi-info">
Modified: phpdoc/fa/trunk/reference/hwapi/functions/hwapi-insert.xml
===================================================================
--- phpdoc/fa/trunk/reference/hwapi/functions/hwapi-insert.xml 2010-05-06 05:49:31 UTC (rev 299052)
+++ phpdoc/fa/trunk/reference/hwapi/functions/hwapi-insert.xml 2010-05-06 06:05:29 UTC (rev 299053)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 297078 Maintainer: pedram Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.hwapi-insert">
Modified: phpdoc/fa/trunk/reference/hwapi/functions/hwapi-insertanchor.xml
===================================================================
--- phpdoc/fa/trunk/reference/hwapi/functions/hwapi-insertanchor.xml 2010-05-06 05:49:31 UTC (rev 299052)
+++ phpdoc/fa/trunk/reference/hwapi/functions/hwapi-insertanchor.xml 2010-05-06 06:05:29 UTC (rev 299053)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: pedram Status: ready -->
+<!-- EN-Revision: 297078 Maintainer: pedram Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.hwapi-insertanchor">