[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/cairo/cairocontext/_clipextents.xml_clippreserve
From:       Mark_Skilbeck <markskilbeck () php ! net>
Date:       2010-03-29 19:39:08
Message-ID: svn-markskilbeck-1269891548-297101-1868196849 () svn ! php ! net
[Download RAW message or body]

markskilbeck                             Mon, 29 Mar 2010 19:39:08 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=297101

Log:
Added Cairo documentation

Changed paths:
    UU  phpdoc/en/trunk/reference/cairo/cairocontext/clipextents.xml
    UU  phpdoc/en/trunk/reference/cairo/cairocontext/clippreserve.xml
    UU  phpdoc/en/trunk/reference/cairo/cairocontext/copypathflat.xml
    UU  phpdoc/en/trunk/reference/cairo/cairocontext/curveto.xml
    UU  phpdoc/en/trunk/reference/cairo/cairocontext/devicetouser.xml
    UU  phpdoc/en/trunk/reference/cairo/cairocontext/devicetouserdistance.xml
    U   phpdoc/en/trunk/reference/cairo/cairocontext/setfontface.xml

Modified: phpdoc/en/trunk/reference/cairo/cairocontext/clipextents.xml
===================================================================
--- phpdoc/en/trunk/reference/cairo/cairocontext/clipextents.xml	2010-03-29 19:38:20 \
                UTC (rev 297100)
+++ phpdoc/en/trunk/reference/cairo/cairocontext/clipextents.xml	2010-03-29 19:39:08 \
UTC (rev 297101) @@ -23,8 +23,6 @@
   <para>
    Computes a bounding box in user coordinates covering the area inside the current \
clip.  </para>
-
-  &warn.undocumented.func;

  </refsect1>



Property changes on: phpdoc/en/trunk/reference/cairo/cairocontext/clipextents.xml
___________________________________________________________________
Added: svn:eol-style
   + native

Modified: phpdoc/en/trunk/reference/cairo/cairocontext/clippreserve.xml
===================================================================
--- phpdoc/en/trunk/reference/cairo/cairocontext/clippreserve.xml	2010-03-29 19:38:20 \
                UTC (rev 297100)
+++ phpdoc/en/trunk/reference/cairo/cairocontext/clippreserve.xml	2010-03-29 19:39:08 \
UTC (rev 297101) @@ -39,8 +39,6 @@
     <methodname>CairoContext::save</methodname>/<methodname>CairoContext::restore</methodname> \
                pair.
     The only other means of increasing the size of the clip region is \
<methodname>CairoContext::resetClip</methodname>.  </para>
-
-  &warn.undocumented.func;

  </refsect1>



Property changes on: phpdoc/en/trunk/reference/cairo/cairocontext/clippreserve.xml
___________________________________________________________________
Added: svn:eol-style
   + native

Modified: phpdoc/en/trunk/reference/cairo/cairocontext/copypathflat.xml
===================================================================
--- phpdoc/en/trunk/reference/cairo/cairocontext/copypathflat.xml	2010-03-29 19:38:20 \
                UTC (rev 297100)
+++ phpdoc/en/trunk/reference/cairo/cairocontext/copypathflat.xml	2010-03-29 19:39:08 \
UTC (rev 297101) @@ -21,7 +21,7 @@
    <methodparam><type>CairoContext</type><parameter>context</parameter></methodparam>
  </methodsynopsis>
   <para>
-   Description here.
+   A CairoContext object
   </para>
  </refsect1>



Property changes on: phpdoc/en/trunk/reference/cairo/cairocontext/copypathflat.xml
___________________________________________________________________
Added: svn:eol-style
   + native

Modified: phpdoc/en/trunk/reference/cairo/cairocontext/curveto.xml
===================================================================
--- phpdoc/en/trunk/reference/cairo/cairocontext/curveto.xml	2010-03-29 19:38:20 UTC \
                (rev 297100)
+++ phpdoc/en/trunk/reference/cairo/cairocontext/curveto.xml	2010-03-29 19:39:08 UTC \
(rev 297101) @@ -125,16 +125,22 @@
     <programlisting role="php">
 <![CDATA[
 <?php
-/* ... */
-?>
+$s = new CairoImageSurface(CairoFormat::ARGB32, 100, 100);
+$c = new CairoContext($s);
+
+$c->setSourceRgb(0, 0, 0);
+
+$c->paint();
+
+$c->moveTo(10, 50);
+$c->setLineWidth(5);
+$c->setSourceRgb(.1, 0, 1);
+$c->curveTo(20, 80, 80, 20, 90, 50);
+$c->stroke();
+
+$s->writeToPng(dirname(__FILE__) . '/curveTo.png');
 ]]>
      </programlisting>
-     &example.outputs.similar;
-     <screen>
-<![CDATA[
-...
-]]>
-    </screen>
    </example>
   </para>
   <para>
@@ -143,16 +149,23 @@
     <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);
+
+cairo_move_to($c, 10, 50);
+cairo_set_line_width($c, 5);
+cairo_set_source_rgb($c, .1, 0, 1);
+cairo_curve_to($c, 20, 80, 80, 20, 90, 50);
+cairo_stroke($c);
+
+cairo_surface_write_to_png($s, dirname(__FILE__) . '/curve_to.png');
 ]]>
      </programlisting>
-     &example.outputs.similar;
-     <screen>
-<![CDATA[
-...
-]]>
-    </screen>
    </example>
   </para>
  </refsect1>


Property changes on: phpdoc/en/trunk/reference/cairo/cairocontext/curveto.xml
___________________________________________________________________
Added: svn:eol-style
   + native

Modified: phpdoc/en/trunk/reference/cairo/cairocontext/devicetouser.xml
===================================================================
--- phpdoc/en/trunk/reference/cairo/cairocontext/devicetouser.xml	2010-03-29 19:38:20 \
                UTC (rev 297100)
+++ phpdoc/en/trunk/reference/cairo/cairocontext/devicetouser.xml	2010-03-29 19:39:08 \
UTC (rev 297101) @@ -70,46 +70,6 @@
   </para>
  </refsect1>

- <refsect1 role="examples">
-  &reftitle.examples;
-  <para>
-   <example>
-    <title>Object oriented style</title>
-    <programlisting role="php">
-<![CDATA[
-<?php
-/* ... */
-?>
-]]>
-     </programlisting>
-     &example.outputs.similar;
-     <screen>
-<![CDATA[
-...
-]]>
-    </screen>
-   </example>
-  </para>
-  <para>
-   <example>
-    <title>Procedural style</title>
-    <programlisting role="php">
-<![CDATA[
-<?php
-/* ... */
-?>
-]]>
-     </programlisting>
-     &example.outputs.similar;
-     <screen>
-<![CDATA[
-...
-]]>
-    </screen>
-   </example>
-  </para>
- </refsect1>
-
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>


Property changes on: phpdoc/en/trunk/reference/cairo/cairocontext/devicetouser.xml
___________________________________________________________________
Added: svn:eol-style
   + native

Modified: phpdoc/en/trunk/reference/cairo/cairocontext/devicetouserdistance.xml
===================================================================
--- phpdoc/en/trunk/reference/cairo/cairocontext/devicetouserdistance.xml	2010-03-29 \
                19:38:20 UTC (rev 297100)
+++ phpdoc/en/trunk/reference/cairo/cairocontext/devicetouserdistance.xml	2010-03-29 \
19:39:08 UTC (rev 297101) @@ -72,46 +72,6 @@
   </para>
  </refsect1>

- <refsect1 role="examples">
-  &reftitle.examples;
-  <para>
-   <example>
-    <title>Object oriented style</title>
-    <programlisting role="php">
-<![CDATA[
-<?php
-/* ... */
-?>
-]]>
-     </programlisting>
-     &example.outputs.similar;
-     <screen>
-<![CDATA[
-...
-]]>
-    </screen>
-   </example>
-  </para>
-  <para>
-   <example>
-    <title>Procedural style</title>
-    <programlisting role="php">
-<![CDATA[
-<?php
-/* ... */
-?>
-]]>
-     </programlisting>
-     &example.outputs.similar;
-     <screen>
-<![CDATA[
-...
-]]>
-    </screen>
-   </example>
-  </para>
- </refsect1>
-
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>


Property changes on: \
phpdoc/en/trunk/reference/cairo/cairocontext/devicetouserdistance.xml \
                ___________________________________________________________________
Added: svn:eol-style
   + native

Modified: phpdoc/en/trunk/reference/cairo/cairocontext/setfontface.xml
===================================================================
--- phpdoc/en/trunk/reference/cairo/cairocontext/setfontface.xml	2010-03-29 19:38:20 \
                UTC (rev 297100)
+++ phpdoc/en/trunk/reference/cairo/cairocontext/setfontface.xml	2010-03-29 19:39:08 \
UTC (rev 297101) @@ -96,12 +96,6 @@
 ?>
 ]]>
      </programlisting>
-     &example.outputs.similar;
-     <screen>
-<![CDATA[
-...
-]]>
-    </screen>
    </example>
   </para>
  </refsect1>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic