CVS update: php3/doc/functions
| From: | steinm | Date: | Wed, 06 Jan 1999 14:26:08 +0000 |
| Subject: | CVS update: php3/doc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3335@lists.php.net to get a copy of this message | ||
Date: Wednesday January 6, 1999 @ 9:26
Author: steinm
Update of /repository/php3/doc/functions
In directory asf:/u/temp/cvs-serv20815/doc/functions
Modified Files:
pdf.sgml
Log Message:
- encoding parameter of pdf_set_font now int (was string)
- new functions to insert jpeg images
- updated documantation
Index: php3/doc/functions/pdf.sgml
diff -c php3/doc/functions/pdf.sgml:1.11 php3/doc/functions/pdf.sgml:1.12
*** php3/doc/functions/pdf.sgml:1.11 Wed Jan 6 01:17:45 1999
--- php3/doc/functions/pdf.sgml Wed Jan 6 09:26:08 1999
***************
*** 360,372 ****
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>string <parameter>font name</parameter></paramdef>
<paramdef>double <parameter>size</parameter></paramdef>
! <paramdef>string <parameter>encoding</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_set_font</function> function sets the the
current font face, font size and encoding. You will need to
provide the Adobe Font Metrics (afm-files) for the font in the
! font path (default is ./fonts).
<para>
See also <function>PDF_info</function>.
--- 360,375 ----
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>string <parameter>font name</parameter></paramdef>
<paramdef>double <parameter>size</parameter></paramdef>
! <paramdef>int <parameter>encoding</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_set_font</function> function sets the the
current font face, font size and encoding. You will need to
provide the Adobe Font Metrics (afm-files) for the font in the
! font path (default is ./fonts). The last parameter
! <parameter>encoding</parameter> can take the following values:
! 0 = builtin, 1 = pdfdoc, 2 = macroman, 3 = macexpert, 4 = winansi,
! 5 = encoding_count.
<para>
See also <function>PDF_info</function>.
***************
*** 1363,1368 ****
--- 1366,1435 ----
<para>
The <function>PDF_set_duration</function> function set the duration
between following pages in seconds.
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.pdf-open-jpeg">
+ <refnamediv>
+ <refname>PDF_open_jpeg</refname>
+ <refpurpose>Opens a JPEG image</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>int <function>pdf_open_jpeg</function></funcdef>
+ <paramdef>int <parameter>pdf document</parameter></paramdef>
+ <paramdef>string <parameter>file name</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_open_jpeg</function> function opens an image stored
+ in the file with the name <parameter>file name</parameter>.
+ The format of the image has to be jpeg.
+ <para>
+ See also <function>PDF_close_image</function>,
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.pdf-close-image">
+ <refnamediv>
+ <refname>PDF_close_image</refname>
+ <refpurpose>Closes an image</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>void <function>pdf_close_image</function></funcdef>
+ <paramdef>int <parameter>image</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_close_image</function> function closes an image
+ which has been opened with any of the <function>PDF_open_xxx</function>
+ functions.
+ <para>
+ See also <function>PDF_open_jpeg</function>,
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.pdf-place-image">
+ <refnamediv>
+ <refname>PDF_place_image</refname>
+ <refpurpose>Places an image on the page</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>void <function>pdf_place_image</function></funcdef>
+ <paramdef>int <parameter>pdf document</parameter></paramdef>
+ <paramdef>int <parameter>image</parameter></paramdef>
+ <paramdef>double <parameter>x-koor</parameter></paramdef>
+ <paramdef>double <parameter>y-koor</parameter></paramdef>
+ <paramdef>double <parameter>skale</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_place_image</function> function places an image
+ on the page at postion (<parameter>x-koor</parameter>,
+ <parameter>x-koor</parameter>). The image can be skaled at the same
+ time.
</refsect1>
</refentry>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net