[PHP-DOC] cvs: phpdoc /de/functions cpdf.xml From: Martin Samesch (martin.samesch <email protected>)
Date: 08/13/00

samesch Sun Aug 13 05:42:44 2000 EDT

  Modified files:
    /phpdoc/de/functions cpdf.xml
  Log:
  updated from the english version (1.9), keeping Uwe's translation (1.6) in mind
  
Index: phpdoc/de/functions/cpdf.xml
diff -u phpdoc/de/functions/cpdf.xml:1.7 phpdoc/de/functions/cpdf.xml:1.8
--- phpdoc/de/functions/cpdf.xml:1.7 Sat Jun 24 00:38:42 2000
+++ phpdoc/de/functions/cpdf.xml Sun Aug 13 05:42:44 2000
@@ -62,9 +62,11 @@
 $cpdf = cpdf_open(0);
 cpdf_page_init($cpdf, 1, 0, 595, 842);
 cpdf_add_outline($cpdf, 0, 0, 0, 1, "Page 1");
+cpdf_begin_text($pdf);
 cpdf_set_font($cpdf, "Times-Roman", 30, "WinAnsiEncoding");
 cpdf_set_text_rendering($cpdf, 1);
 cpdf_text($cpdf, "Times Roman outlined", 50, 750);
+cpdf_end_text($pdf);
 cpdf_moveto($cpdf, 50, 740);
 cpdf_lineto($cpdf, 330, 740);
 cpdf_stroke($cpdf);
@@ -104,7 +106,7 @@
   
   /* minute strokes */
   cpdf_setlinewidth($pdf, 2.0);
- for ($alpha = 0; $alpha < 360; $alpha += 6)
+ for ($alpha = 0; $alpha &lt; 360; $alpha += 6)
     {
     cpdf_rotate($pdf, 6.0);
     cpdf_moveto($pdf, $radius, 0.0);
@@ -117,7 +119,7 @@
  
   /* 5 minute strokes */
   cpdf_setlinewidth($pdf, 3.0);
- for ($alpha = 0; $alpha < 360; $alpha += 30)
+ for ($alpha = 0; $alpha &lt; 360; $alpha += 30)
   {
     cpdf_rotate($pdf, 30.0);
     cpdf_moveto($pdf, $radius, 0.0);
@@ -194,7 +196,7 @@
     </funcsynopsis>
     <para>
      The <function>cpdf_global_set_document_limits</function> function sets
- several document limits. This function has to called before
+ several document limits. This function has to be called before
      <function>cpdf_open</function> to take effect. It sets the limits
      for any document open afterwards.
      </para>
@@ -1230,29 +1232,29 @@
 
    </refsect1>
   </refentry>
-
+
   <refentry id="function.cpdf-newpath">
     <refnamediv>
       <refname>cpdf_newpath</refname>
       <refpurpose>
- Startet einen neuen Pfad
+ Starts a new path
       </refpurpose>
     </refnamediv>
     <refsect1>
- <title>Beschreibung</title>
+ <title>Description</title>
       <funcsynopsis>
      <funcprototype>
          <funcdef>void
            <function>cpdf_newpath</function>
          </funcdef>
          <paramdef>int
- <parameter>pdf Dokument</parameter>
+ <parameter>pdf_document</parameter>
          </paramdef>
      </funcprototype>
       </funcsynopsis>
       <para>
- Die Funktion <function>cpdf_newpath</function> startet einen neuen
- Pfad in dem angegebenen <parameter>pdf Dokument</parameter>.
+ The <function>cpdf_newpath</function> starts a new path on the document
+ given by the <parameter>pdf_document</parameter> parameter.
       </para>
     </refsect1>
   </refentry>