[PHP-DEV] CVS update: php3/doc/functions From: steinm (php-dev <email protected>)
Date: 10/27/98

Date: Tuesday October 27, 1998 @ 11:34
Author: steinm

Update of /repository/php3/doc/functions
In directory asf:/u2/tmp/cvs-serv8511/doc/functions

Modified Files:
        pdf.sgml
Log Message:
more pdf module documentation

Index: php3/doc/functions/pdf.sgml
diff -c php3/doc/functions/pdf.sgml:1.4 php3/doc/functions/pdf.sgml:1.5
*** php3/doc/functions/pdf.sgml:1.4 Mon Oct 26 14:53:19 1998
--- php3/doc/functions/pdf.sgml Tue Oct 27 11:34:03 1998
***************
*** 290,296 ****
     <refsect1>
      <title>Description</title>
      <funcsynopsis>
! <funcdef>void <function>pdf_begin_page</function></funcdef>
       <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
      </funcsynopsis>
      <para>
--- 290,296 ----
     <refsect1>
      <title>Description</title>
      <funcsynopsis>
! <funcdef>void <function>pdf_end_page</function></funcdef>
       <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
      </funcsynopsis>
      <para>
***************
*** 302,335 ****
     </refsect1>
    </refentry>
  
- <!-- ** is this just a cut'n'paste error? -Stig **
-
- <refentry id="function.pdf-begin-page">
- <refnamediv>
- <refname>PDF_begin_page</refname>
- <refpurpose></refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <funcsynopsis>
- <funcdef>void <function>pdf_begin_page</function></funcdef>
- <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
- </funcsynopsis>
- <para>
- The <function>PDF_set_info_author</function> function sets the
-
- <note><simpara>
- This function is not part of the pdf library.
- </simpara></note>
-
- <para>
- See also <function>PDF_get_info</function>,
- <function>PDF_set_info_xxxxx</function>.
-
- </refsect1>
- </refentry>
- -->
-
    <refentry id="function.pdf-show">
     <refnamediv>
      <refname>PDF_show</refname>
--- 302,307 ----
***************
*** 827,832 ****
--- 799,1054 ----
       The <function>PDF_setdash</function> function set the dash pattern
       <parameter>white</parameter> white units and <parameter>black</parameter>
       black units. If both are 0 a solid line is set.
+
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.pdf-moveto">
+ <refnamediv>
+ <refname>PDF_moveto</refname>
+ <refpurpose>Set current point</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>void <function>pdf_moveto</function></funcdef>
+ <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
+ <paramdef>double <parameter>x-koor</parameter></paramdef>
+ <paramdef>double <parameter>y-koor</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_moveto</function> function set the current point
+ to the coordinates <parameter>x-koor</parameter> and
+ <parameter>y-koor</parameter>.
+
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.pdf-curveto">
+ <refnamediv>
+ <refname>PDF_curveto</refname>
+ <refpurpose>Draw a curve</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>void <function>pdf_curveto</function></funcdef>
+ <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
+ <paramdef>double <parameter>x1</parameter></paramdef>
+ <paramdef>double <parameter>y1</parameter></paramdef>
+ <paramdef>double <parameter>x2</parameter></paramdef>
+ <paramdef>double <parameter>y2</parameter></paramdef>
+ <paramdef>double <parameter>x3</parameter></paramdef>
+ <paramdef>double <parameter>y3</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_curveto</function> function draws a Bezier curve
+ from the current point to the point
+ (<parameter>x3</parameter, <parameter>y3</parameter>) using
+ (<parameter>x1</parameter, <parameter>y1</parameter>) and
+ (<parameter>x2</parameter, <parameter>y2</parameter>) as control
+ points.
+
+ <para>
+ See also <function>PDF_moveto</function>,
+ <function>PDF_lineto</function>.
+
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.pdf-lineto">
+ <refnamediv>
+ <refname>PDF_lineto</refname>
+ <refpurpose>Draw a line</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>void <function>pdf_lineto</function></funcdef>
+ <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
+ <paramdef>double <parameter>x-koor</parameter></paramdef>
+ <paramdef>double <parameter>y-koor</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_lineto</function> function draws a line from
+ the current point to the point with coordinates
+ (<parameter>x-koor</parameter>, <parameter>y-koor</parameter>).
+
+ <para>
+ See also <function>PDF_moveto</function>,
+ <function>PDF_curveto</function>.
+
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.pdf-circle">
+ <refnamediv>
+ <refname>PDF_circle</refname>
+ <refpurpose>Draw a circle</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>void <function>pdf_circle</function></funcdef>
+ <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
+ <paramdef>double <parameter>x-koor</parameter></paramdef>
+ <paramdef>double <parameter>y-koor</parameter></paramdef>
+ <paramdef>double <parameter>radius</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_circle</function> function draws a circle with
+ center at point
+ (<parameter>x-koor</parameter>, <parameter>y-koor</parameter>)
+ and radius <parameter>radius</parameter>.
+
+ <para>
+ See also <function>PDF_arc</function>.
+
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.pdf-arc">
+ <refnamediv>
+ <refname>PDF_arc</refname>
+ <refpurpose>Draw an arc</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>void <function>pdf_arc</function></funcdef>
+ <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
+ <paramdef>double <parameter>x-koor</parameter></paramdef>
+ <paramdef>double <parameter>y-koor</parameter></paramdef>
+ <paramdef>double <parameter>radius</parameter></paramdef>
+ <paramdef>double <parameter>start</parameter></paramdef>
+ <paramdef>double <parameter>end</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_arc</function> function draws an arc with
+ center at point
+ (<parameter>x-koor</parameter>, <parameter>y-koor</parameter>)
+ and radius <parameter>radius</parameter>, starting at angle
+ <parameter>start</parameter> and ending at angle
+ <parameter>end</parameter>.
+
+ <para>
+ See also <function>PDF_circle</function>.
+
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.pdf-rect">
+ <refnamediv>
+ <refname>PDF_rect</refname>
+ <refpurpose>Draw a rectangle</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>void <function>pdf_rect</function></funcdef>
+ <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
+ <paramdef>double <parameter>x-koor</parameter></paramdef>
+ <paramdef>double <parameter>y-koor</parameter></paramdef>
+ <paramdef>double <parameter>width</parameter></paramdef>
+ <paramdef>double <parameter>height</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_rect</function> function draws a rectangle with
+ its lower left corner at point
+ (<parameter>x-koor</parameter>, <parameter>y-koor</parameter>).
+ This width is set to <parameter>widgth</parameter>.
+ This height is set to <parameter>height</parameter>.
+
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.pdf-closepath">
+ <refnamediv>
+ <refname>PDF_closepath</refname>
+ <refpurpose>Close path</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>void <function>pdf_closepath</function></funcdef>
+ <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_closepath</function> function closes the
+ current path.
+
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.pdf-stroke">
+ <refnamediv>
+ <refname>PDF_stroke</refname>
+ <refpurpose>Draw line along path</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>void <function>pdf_stroke</function></funcdef>
+ <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_stroke</function> function draws a line along
+ current path.
+
+ <para>
+ See also <function>PDF_closepath</function>,
+ <function>PDF_closepath_stroke</function>.
+
+ </refsect1>
+ </refentry>
+
+ </reference>
+
+ <refentry id="function.pdf-closepath-stroke">
+ <refnamediv>
+ <refname>PDF_closepath_stroke</refname>
+ <refpurpose>Close path and draw line along path</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>void <function>pdf_closepath_stroke</function></funcdef>
+ <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_closepath_stroke</function> function is a
+ combination of <function>PDF_closepath</function> and
+ <function>PDF_stroke</function>. Than clears the path.
+
+ <para>
+ See also <function>PDF_closepath</function>,
+ <function>PDF_stroke</function>.
+
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.pdf-fill">
+ <refnamediv>
+ <refname>PDF_fill</refname>
+ <refpurpose>Fill current path</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>void <function>pdf_fill</function></funcdef>
+ <paramdef>pdfdoc <parameter>pdf document</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_fill</function> function fills the interior of
+ the current path with the current fill color.
+
+ <para>
+ See also <function>PDF_closepath</function>,
+ <function>PDF_stroke</function>,
+ <function>PDF_setgray_fill</function>,
+ <function>PDF_setgray</function>,
+ <function>PDF_setrgbcolor_fill</function>,
+ <function>PDF_setrgbcolor</function>.
  
     </refsect1>
    </refentry>

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>