several updates to be in line with german version

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@17015 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Uwe Steinmann 1999-12-10 21:25:15 +00:00
parent c8f33da553
commit 48e23c2035

View file

@ -674,13 +674,13 @@ fclose($fp);
<funcdef>void <function>pdf_show_xy</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>string <parameter>text</parameter></paramdef>
<paramdef>double <parameter>x-koor</parameter></paramdef>
<paramdef>double <parameter>y-koor</parameter></paramdef>
<paramdef>double <parameter>x-coor</parameter></paramdef>
<paramdef>double <parameter>y-coor</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_show_xy</function> function outputs the
string <parameter>text</parameter> at position
(<parameter>x-koor</parameter>, <parameter>y-koor</parameter>).</para>
(<parameter>x-coor</parameter>, <parameter>y-coor</parameter>).</para>
<para>
See also <function>PDF_show</function>.</para>
@ -705,14 +705,18 @@ fclose($fp);
</funcsynopsis>
<para>
The <function>PDF_set_font</function> function sets the
current font face, font size and encoding. You will need to
current font face, font size and encoding. If you use pdflib 0.6
you will need to
provide the Adobe Font Metrics (afm-files) for the font in the
font path (default is ./fonts). The last parameter
font path (default is ./fonts). The fourth parameter
<parameter>encoding</parameter> can take the following values:
0 = builtin, 1 = pdfdoc, 2 = macroman, 3 = macexpert, 4 = winansi.
An encoding greater than 4 and less than 0 will default to winansi.
winansi is often a good choice. If the last parameter is set to
1 the font is embedded into the pdf document otherwise it is not.
To embed a font is usually a good idea if the font is not widely spread
and you cannot ensure that the person watching your document has
access on fonts in the document.
<note><simpara>
This function has to be called after
@ -720,11 +724,6 @@ fclose($fp);
valid pdf document.
</simpara></note>
<note><simpara>
This function does not need the afm files for winansi encoding if
pdflib 2.0 support is activated.
</simpara></note></para>
</refsect1>
</refentry>
@ -801,11 +800,11 @@ fclose($fp);
<funcsynopsis>
<funcdef>void <function>pdf_set_text_rise</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>double <parameter>value</parameter></paramdef>
<paramdef>double <parameter>rise</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_set_text_rise</function> function sets the
text rising to <parameter>value</parameter> points.</para>
text rising to <parameter>rise</parameter> points.</para>
</refsect1>
</refentry>
@ -838,8 +837,8 @@ fclose($fp);
<funcsynopsis>
<funcdef>void <function>pdf_set_text_pos</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>double <parameter>x-koor</parameter></paramdef>
<paramdef>double <parameter>y-koor</parameter></paramdef>
<paramdef>double <parameter>x-coor</parameter></paramdef>
<paramdef>double <parameter>y-coor</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_set_text_pos</function> function sets the
@ -936,8 +935,9 @@ fclose($fp);
</funcsynopsis>
<para>
The <function>PDF_stringwidth</function> function returns the
width of the string in <parameter>text</parameter>. It requires
a font to be set before.</para>
width of the string in <parameter>text</parameter> by using the
current font. It requires a font to be set before with
<function>PDD_set_font</function>.</para>
<para>
See also <function>PDF_set_font</function>.</para>
@ -961,7 +961,8 @@ fclose($fp);
environment. It works like the postscript command gsave. Very
useful if you want to translate or rotate an object without effecting
other objects. <function>PDF_save</function> should always be
followed by <function>PDF_restore</function>.</para>
followed by <function>PDF_restore</function> to restore the environment
before <function>PDF_save</function>.</para>
<para>
See also <function>PDF_restore</function>.</para>
@ -983,9 +984,7 @@ fclose($fp);
<para>
The <function>PDF_restore</function> function restores the
environment saved with <function>PDF_save</function>. It works
like the postscript command grestore. Very
useful if you want to translate or rotate an object without effecting
other objects.
like the postscript command grestore.
<example>
<title>Save and Restore</title>
@ -1011,13 +1010,14 @@ PDF_restore($pdf) ?>
<funcsynopsis>
<funcdef>void <function>pdf_translate</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>double <parameter>x-koor</parameter></paramdef>
<paramdef>double <parameter>y-koor</parameter></paramdef>
<paramdef>double <parameter>x-coor</parameter></paramdef>
<paramdef>double <parameter>y-coor</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_translate</function> function set the origin of
coordinate system to the point (<parameter>x-koor</parameter>,
<parameter>y-koor</parameter>). The following example draws
The <function>PDF_translate</function> function sets the origin of
coordinate system to the point (<parameter>x-coor</parameter>,
<parameter>y-coor</parameter>) relativ the current origin.
The following example draws
a line from (0, 0) to (200, 200) relative to the initial coordinate
system. You have to set the current point after
<function>PDF_translate</function> and before you start drawing
@ -1053,7 +1053,7 @@ PDF_stroke($pdf);
<paramdef>double <parameter>y-scale</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_scale</function> function set the scaling factor
The <function>PDF_scale</function> function sets the scaling factor
in both directions. The following example scales x and y direction
by 72. The following line will therefore be drawn one inch in both
directions.
@ -1083,7 +1083,7 @@ PDF_stroke($pdf);
<paramdef>double <parameter>angle</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_rotate</function> function set the rotation in
The <function>PDF_rotate</function> function sets the rotation in
degress to <parameter>angle</parameter>.</para>
</refsect1>
@ -1102,7 +1102,7 @@ PDF_stroke($pdf);
<paramdef>double <parameter>value</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_setflat</function> function set the flatness to
The <function>PDF_setflat</function> function sets the flatness to
a value between 0 and 100.</para>
</refsect1>
@ -1121,7 +1121,7 @@ PDF_stroke($pdf);
<paramdef>long <parameter>value</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_setlinejoin</function> function set the linejoin
The <function>PDF_setlinejoin</function> function sets the linejoin
parameter between a value of 0 and 2.</para>
</refsect1>
@ -1140,7 +1140,7 @@ PDF_stroke($pdf);
<paramdef>int <parameter>value</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_setlinecap</function> function set the linecap
The <function>PDF_setlinecap</function> function sets the linecap
parameter between a value of 0 and 2.</para>
</refsect1>
@ -1159,7 +1159,7 @@ PDF_stroke($pdf);
<paramdef>double <parameter>value</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_setmiterlimit</function> function set the miter limit
The <function>PDF_setmiterlimit</function> function sets the miter limit
to a value greater of equal than 1.</para>
</refsect1>
@ -1178,7 +1178,7 @@ PDF_stroke($pdf);
<paramdef>double <parameter>width</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_setlinewidth</function> function set the line width
The <function>PDF_setlinewidth</function> function sets the line width
to <parameter>width</parameter>.</para>
</refsect1>
@ -1198,7 +1198,7 @@ PDF_stroke($pdf);
<paramdef>double <parameter>black</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_setdash</function> function set the dash pattern
The <function>PDF_setdash</function> function sets the dash pattern
<parameter>white</parameter> white points and <parameter>black</parameter>
black points. If both are 0 a solid line is set.</para>
@ -1215,13 +1215,13 @@ PDF_stroke($pdf);
<funcsynopsis>
<funcdef>void <function>pdf_moveto</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>double <parameter>x-koor</parameter></paramdef>
<paramdef>double <parameter>y-koor</parameter></paramdef>
<paramdef>double <parameter>x-coor</parameter></paramdef>
<paramdef>double <parameter>y-coor</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>.</para>
The <function>PDF_moveto</function> function sets the current point
to the coordinates <parameter>x-coor</parameter> and
<parameter>y-coor</parameter>.</para>
</refsect1>
</refentry>
@ -1269,13 +1269,13 @@ PDF_stroke($pdf);
<funcsynopsis>
<funcdef>void <function>pdf_lineto</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>double <parameter>x-koor</parameter></paramdef>
<paramdef>double <parameter>y-koor</parameter></paramdef>
<paramdef>double <parameter>x-coor</parameter></paramdef>
<paramdef>double <parameter>y-coor</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>
(<parameter>x-coor</parameter>, <parameter>y-coor</parameter>).</para>
<para>
See also <function>PDF_moveto</function>,
@ -1295,14 +1295,14 @@ PDF_stroke($pdf);
<funcsynopsis>
<funcdef>void <function>pdf_circle</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>double <parameter>x-koor</parameter></paramdef>
<paramdef>double <parameter>y-koor</parameter></paramdef>
<paramdef>double <parameter>x-coor</parameter></paramdef>
<paramdef>double <parameter>y-coor</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>)
(<parameter>x-coor</parameter>, <parameter>y-coor</parameter>)
and radius <parameter>radius</parameter>.</para>
<para>
@ -1322,8 +1322,8 @@ PDF_stroke($pdf);
<funcsynopsis>
<funcdef>void <function>pdf_arc</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>double <parameter>x-koor</parameter></paramdef>
<paramdef>double <parameter>y-koor</parameter></paramdef>
<paramdef>double <parameter>x-coor</parameter></paramdef>
<paramdef>double <parameter>y-coor</parameter></paramdef>
<paramdef>double <parameter>radius</parameter></paramdef>
<paramdef>double <parameter>start</parameter></paramdef>
<paramdef>double <parameter>end</parameter></paramdef>
@ -1331,7 +1331,7 @@ PDF_stroke($pdf);
<para>
The <function>PDF_arc</function> function draws an arc with
center at point
(<parameter>x-koor</parameter>, <parameter>y-koor</parameter>)
(<parameter>x-coor</parameter>, <parameter>y-coor</parameter>)
and radius <parameter>radius</parameter>, starting at angle
<parameter>start</parameter> and ending at angle
<parameter>end</parameter>.</para>
@ -1353,15 +1353,15 @@ PDF_stroke($pdf);
<funcsynopsis>
<funcdef>void <function>pdf_rect</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>double <parameter>x-koor</parameter></paramdef>
<paramdef>double <parameter>y-koor</parameter></paramdef>
<paramdef>double <parameter>x-coor</parameter></paramdef>
<paramdef>double <parameter>y-coor</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>).
(<parameter>x-coor</parameter>, <parameter>y-coor</parameter>).
This width is set to <parameter>widgth</parameter>.
This height is set to <parameter>height</parameter>.</para>
@ -1428,7 +1428,7 @@ PDF_stroke($pdf);
<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>
<function>PDF_stroke</function>. It also clears the path.</para>
<para>
See also <function>PDF_closepath</function>,
@ -1567,7 +1567,7 @@ PDF_stroke($pdf);
<funcsynopsis>
<funcdef>void <function>pdf_setgray_fill</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>double <parameter>value</parameter></paramdef>
<paramdef>double <parameter>gray value</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_setgray_fill</function> function sets the current
@ -1614,7 +1614,7 @@ PDF_stroke($pdf);
<paramdef>double <parameter>gray value</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_setgray_stroke</function> function sets the current
The <function>PDF_setgray</function> function sets the current
drawing and filling color to the given gray value.</para>
<para>
@ -1839,7 +1839,7 @@ pdf_close_image($pdf, $im);
<funcsynopsis>
<funcdef>int <function>pdf_open_memory_image</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>string <parameter>int image</parameter></paramdef>
<paramdef>int <parameter>image</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_open_memory_image</function> function takes
@ -1932,14 +1932,14 @@ pdf_close_image($pdf, $pim);
<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>x-coor</parameter></paramdef>
<paramdef>double <parameter>y-coor</parameter></paramdef>
<paramdef>double <parameter>scale</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 scaled at the same
on the page at postion (<parameter>x-coor</parameter>,
<function><parameter>x-coor</parameter>). The image can be scaled at the same
time.</para>
<para>
See also <function>PDF_put_image</function>.</para>
@ -1959,7 +1959,7 @@ pdf_close_image($pdf, $pim);
<paramdef>int <parameter>image</parameter></paramdef>
</funcsynopsis>
<para>
The PDF_put_image function places an image
The <function>PDF_put_image</function> function places an image
in the PDF file without showing it. The stored image can be
displayed with the <function>PDF_execute_image</function>
function as many times as needed. This is useful when using the same
@ -1994,7 +1994,7 @@ pdf_close_image($pdf, $pim);
<paramdef>double <parameter>scale</parameter></paramdef>
</funcsynopsis>
<para>
The PDF_execute_image function displays an image that has been
The <function>PDF_execute_image</function> function displays an image that has been
put in the PDF file with the <function>PDF_put_image</function>
function on the current page at the given coordinates.</para>
<para>