diff --git a/functions/pdf.xml b/functions/pdf.xml
index 78e86b178e..89b879b0bb 100644
--- a/functions/pdf.xml
+++ b/functions/pdf.xml
@@ -157,33 +157,33 @@
pdf_open_gif
- pdf_open_image_filepassing
+ pdf_open_image_file passing
"gif" as the second parameter.
pdf_open_jpeg
- pdf_open_image_filepassing
+ pdf_open_image_file passing
"jpeg" as the second parameter.
pdf_open_tiff
- pdf_open_image_filepassing
+ pdf_open_image_file passing
"tiff" as the second parameter.
pdf_open_png
- pdf_open_image_filepassing
+ pdf_open_image_file passing
"png" as the second parameter.
pdf_get_imagewidth
- pdf_get_valueassing
+ pdf_get_value passing
"imagewidth" as the second parameter and the image
as the third parameter.
pdf_get_imageheight
- pdf_get_valueassing
+ pdf_get_value passing
"imageheight" as the second parameter and the
image as the third parameter.
@@ -249,7 +249,7 @@
<?php
$fp = fopen("test.pdf", "w");
-$pdf = PDF_open($fp);
+$pdf = pdf_open($fp);
pdf_set_info($pdf, "Author", "Uwe Steinmann");
pdf_set_info($pdf, "Title", "Test for PHP wrapper of PDFlib 2.0");
pdf_set_info($pdf, "Creator", "See Author");
@@ -400,7 +400,7 @@ fclose($fp);
- PDF_get_info
+ pdf_get_info
Returns an empty info structure for a pdf document
@@ -412,7 +412,7 @@ fclose($fp);
- The PDF_get_info function returns an
+ The pdf_get_info function returns an
empty info structure for the pdf document. It should be filled
with appropriate information like the author, subject etc. of
the document.
@@ -422,17 +422,17 @@ fclose($fp);
- See also PDF_set_info_creator,
- PDF_set_info_author,
- PDF_set_info_keywords,
- PDF_set_info_title,
- PDF_set_info_subject.
+ See also pdf_set_info_creator,
+ pdf_set_info_author,
+ pdf_set_info_keywords,
+ pdf_set_info_title,
+ pdf_set_info_subject.
- PDF_set_info
+ pdf_set_info
Fills a field of the document information
@@ -446,7 +446,7 @@ fclose($fp);
- The PDF_set_info function sets an information field
+ The pdf_set_info function sets an information field
of a pdf document.
Possible values for the fieldname are 'Subject', 'Title', 'Creator',
'Author', 'Keywords' and one user-defined name.
@@ -472,11 +472,11 @@ pdf_close($pdfdoc);
- This function replaces PDF_set_info_keywords,
- PDF_set_info_title,
- PDF_set_info_subject,
- PDF_set_info_creator,
- PDF_set_info_sybject.
+ This function replaces pdf_set_info_keywords,
+ pdf_set_info_title,
+ pdf_set_info_subject,
+ pdf_set_info_creator,
+ pdf_set_info_sybject.
@@ -484,7 +484,7 @@ pdf_close($pdfdoc);
- PDF_open
+ pdf_open
Opens a new pdf document
@@ -497,7 +497,7 @@ pdf_close($pdfdoc);
- The PDF_open function opens
+ The pdf_open function opens
a new pdf document. The corresponding file has to be opened
with fopen and the file descriptor passed
as argument file. info
@@ -517,15 +517,15 @@ pdf_close($pdfdoc);
See also fopen,
- PDF_get_info,
- PDF_close.
+ pdf_get_info,
+ pdf_close.
- PDF_close
+ pdf_close
Closes a pdf document
@@ -537,12 +537,12 @@ pdf_close($pdfdoc);
- The PDF_close function closes the pdf document.
+ The pdf_close function closes the pdf document.
Due to an unclean implementation of the pdflib 0.6 the
internal closing of the document also closes the file. This should
not be done because pdflib did not open the file, but expects an
- already open file when PDF_open is called.
+ already open file when pdf_open is called.
Consequently it shouldn't close the file. In order to fix this
just take out line 190 of the file p_basic.c in the pdflib 0.6
source distribution until the next release of pdflib will fix
@@ -555,7 +555,7 @@ pdf_close($pdfdoc);
- See also PDF_open,
+ See also pdf_open,
fclose.
@@ -563,7 +563,7 @@ pdf_close($pdfdoc);
- PDF_begin_page
+ pdf_begin_page
Starts new page
@@ -577,21 +577,21 @@ pdf_close($pdfdoc);
- The PDF_begin_page function starts a new
+ The pdf_begin_page function starts a new
page with height height and width
width. In order to create a valid
document you must call this function and
- PDF_end_page.
+ pdf_end_page.
- See also PDF_end_page.
+ See also pdf_end_page.
- PDF_end_page
+ pdf_end_page
Ends a page
@@ -603,18 +603,18 @@ pdf_close($pdfdoc);
- The PDF_end_page function ends a page.
+ The pdf_end_page function ends a page.
Once a page is ended it cannot be modified anymore.
- See also PDF_begin_page.
+ See also pdf_begin_page.
- PDF_show
+ pdf_show
Output text at current position
@@ -627,21 +627,21 @@ pdf_close($pdfdoc);
- The PDF_show function outputs the
+ The pdf_show function outputs the
string text at the current position
using the current font.
- See also PDF_show_xy,
- PDF_set_text_pos,
- PDF_set_font.
+ See also pdf_show_xy,
+ pdf_set_text_pos,
+ pdf_set_font.
- PDF_show_boxed
+ pdf_show_boxed
Output text in a box
@@ -659,7 +659,7 @@ pdf_close($pdfdoc);
- The PDF_show_boxed function outputs the
+ The pdf_show_boxed function outputs the
string text in a box with its lower left position
at (x-coor, y-coor).
The boxes dimension is height by
@@ -674,15 +674,15 @@ pdf_close($pdfdoc);
they did not fit into the box.
- See also PDF_show,
- PDF_show_xy.
+ See also pdf_show,
+ pdf_show_xy.
- PDF_show_xy
+ pdf_show_xy
Output text at given position
@@ -697,19 +697,19 @@ pdf_close($pdfdoc);
- The PDF_show_xy function outputs the
+ The pdf_show_xy function outputs the
string text at position
(x-coor, y-coor).
- See also PDF_show.
+ See also pdf_show.
- PDF_set_font
+ pdf_set_font
Selects a font face and size
@@ -725,7 +725,7 @@ pdf_close($pdfdoc);
- The PDF_set_font function sets the
+ The pdf_set_font function sets the
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
@@ -743,13 +743,13 @@ pdf_close($pdfdoc);
and you cannot ensure that the person watching your document has
access on fonts in the document.
I font is only embedded once even if you call
- PDF_set_font several times.
+ pdf_set_font several times.
This function has to be called after
- PDF_begin_page in order to create a valid
+ pdf_begin_page in order to create a valid
pdf document.
@@ -768,7 +768,7 @@ pdf_close($pdfdoc);
- PDF_set_leading
+ pdf_set_leading
Sets distance between text lines
@@ -781,19 +781,19 @@ pdf_close($pdfdoc);
- The PDF_set_leading function sets the distance
+ The pdf_set_leading function sets the distance
between text lines. This will be used if text is output by
- PDF_continue_text.
+ pdf_continue_text.
- See also PDF_continue_text.
+ See also pdf_continue_text.
- PDF_set_parameter
+ pdf_set_parameter
Sets certain parameters
@@ -807,18 +807,18 @@ pdf_close($pdfdoc);
- The PDF_set_parameter function sets several
+ The pdf_set_parameter function sets several
parameters of pdflib which are of the type string.
- See also PDF_get_value,
- PDF_set_value,
- PDF_get_parameter.
+ See also pdf_get_value,
+ pdf_set_value,
+ pdf_get_parameter.
- PDF_get_parameter
+ pdf_get_parameter
Gets certain parameters
@@ -832,20 +832,20 @@ pdf_close($pdfdoc);
- The PDF_get_parameter function gets several
+ The pdf_get_parameter function gets several
parameters of pdflib which are of the type string. The function parameter
modifier characterizes the parameter to get.
If the modifier is not needed it has to be 0 or not passed at all.
- See also PDF_get_value,
- PDF_set_value,
- PDF_set_parameter.
+ See also pdf_get_value,
+ pdf_set_value,
+ pdf_set_parameter.
- PDF_set_value
+ pdf_set_value
Sets certain numerical value
@@ -859,18 +859,18 @@ pdf_close($pdfdoc);
- The PDF_set_value function sets several
+ The pdf_set_value function sets several
numerical parameters of pdflib.
- See also PDF_get_value,
- PDF_get_parameter,
- PDF_set_parameter.
+ See also pdf_get_value,
+ pdf_get_parameter,
+ pdf_set_parameter.
- PDF_get_value
+ pdf_get_value
Gets certain numerical value
@@ -884,20 +884,20 @@ pdf_close($pdfdoc);
- The PDF_get_value function gets several
+ The pdf_get_value function gets several
numerical parameters of pdflib. The function parameter
modifier characterizes the parameter to get.
If the modifier is not needed it has to be 0 or not passed at all.
- See also PDF_set_value,
- PDF_get_parameter,
- PDF_set_parameter.
+ See also pdf_set_value,
+ pdf_get_parameter,
+ pdf_set_parameter.
- PDF_get_image_height
+ pdf_get_image_height
Returns height of an image
@@ -910,18 +910,18 @@ pdf_close($pdfdoc);
- The PDF_get_image_height function returns the
+ The pdf_get_image_height function returns the
heights of a pdf image in pixel.
- See also PDF_open_image_file,
- PDF_open_memory_image,
- PDF_get_image_width.
+ See also pdf_open_image_file,
+ pdf_open_memory_image,
+ pdf_get_image_width.
- PDF_get_image_width
+ pdf_get_image_width
Returns width of an image
@@ -934,18 +934,18 @@ pdf_close($pdfdoc);
- The PDF_get_image_width function returns the
+ The pdf_get_image_width function returns the
widths of a pdf image in pixel.
- See also PDF_open_image_file,
- PDF_open_memory_image,
- PDF_get_image_height.
+ See also pdf_open_image_file,
+ pdf_open_memory_image,
+ pdf_get_image_height.
- PDF_set_text_rendering
+ pdf_set_text_rendering
Determines how text is rendered
@@ -958,7 +958,7 @@ pdf_close($pdfdoc);
- The PDF_set_text_rendering function determines
+ The pdf_set_text_rendering function determines
how text is rendered. The possible values for mode
are 0=fill text, 1=stroke text, 2=fill and stroke text, 3=invisible,
4=fill text and add it to cliping path, 5=stroke text and add it to
@@ -969,7 +969,7 @@ pdf_close($pdfdoc);
- PDF_set_horiz_scaling
+ pdf_set_horiz_scaling
Sets horizontal scaling of text
@@ -982,14 +982,14 @@ pdf_close($pdfdoc);
- The PDF_set_horiz_scaling function sets the
+ The pdf_set_horiz_scaling function sets the
horizontal scaling to scale percent.
- PDF_set_text_rise
+ pdf_set_text_rise
Sets the text rise
@@ -1002,14 +1002,14 @@ pdf_close($pdfdoc);
- The PDF_set_text_rise function sets the
+ The pdf_set_text_rise function sets the
text rising to rise points.
- PDF_set_text_matrix
+ pdf_set_text_matrix
Sets the text matrix
@@ -1022,7 +1022,7 @@ pdf_close($pdfdoc);
- The PDF_set_text_matrix function sets
+ The pdf_set_text_matrix function sets
a matrix which describes a transformation applied on the current
text font. The matrix has to passed as an array with six elements.
This function is not available anymore since pdflib 2.3
@@ -1032,7 +1032,7 @@ pdf_close($pdfdoc);
- PDF_set_text_pos
+ pdf_set_text_pos
Sets text position
@@ -1046,18 +1046,18 @@ pdf_close($pdfdoc);
- The PDF_set_text_pos function sets the
+ The pdf_set_text_pos function sets the
position of text for the next pdf_show
function call.
- See also PDF_show,
- PDF_show_xy.
+ See also pdf_show,
+ pdf_show_xy.
- PDF_set_char_spacing
+ pdf_set_char_spacing
Sets character spacing
@@ -1070,18 +1070,18 @@ pdf_close($pdfdoc);
- The PDF_set_char_spacing function sets the
+ The pdf_set_char_spacing function sets the
spacing between characters.
- See also PDF_set_word_spacing,
- PDF_set_leading.
+ See also pdf_set_word_spacing,
+ pdf_set_leading.
- PDF_set_word_spacing
+ pdf_set_word_spacing
Sets spacing between words
@@ -1094,19 +1094,19 @@ pdf_close($pdfdoc);
- The PDF_set_word_spacing function sets the
+ The pdf_set_word_spacing function sets the
spacing between words.
- See also PDF_set_char_spacing,
- PDF_set_leading.
+ See also pdf_set_char_spacing,
+ pdf_set_leading.
- PDF_skew
+ pdf_skew
Skews the coordinate system
@@ -1120,7 +1120,7 @@ pdf_close($pdfdoc);
- The PDF_skew function skew the coordinate
+ The pdf_skew function skew the coordinate
system by alpha (x) and
beta (y) degrees.
alpha and beta may
@@ -1131,7 +1131,7 @@ pdf_close($pdfdoc);
- PDF_continue_text
+ pdf_continue_text
Outputs text in next line
@@ -1144,22 +1144,22 @@ pdf_close($pdfdoc);
- The PDF_continue_text function outputs the
+ The pdf_continue_text function outputs the
string in text in the next line.
The distance between the lines can be set with
- PDF_set_leading.
+ pdf_set_leading.
- See also PDF_show_xy,
- PDF_set_leading,
- PDF_set_text_pos.
+ See also pdf_show_xy,
+ pdf_set_leading,
+ pdf_set_text_pos.
- PDF_stringwidth
+ pdf_stringwidth
Returns width of text using current font
@@ -1172,20 +1172,20 @@ pdf_close($pdfdoc);
- The PDF_stringwidth function returns the
+ The pdf_stringwidth function returns the
width of the string in text by using the
current font. It requires a font to be set before with
- PDF_set_font.
+ pdf_set_font.
- See also PDF_set_font.
+ See also pdf_set_font.
- PDF_save
+ pdf_save
Saves the current environment
@@ -1197,22 +1197,22 @@ pdf_close($pdfdoc);
- The PDF_save function saves the current
+ The pdf_save function saves the current
environment. It works like the postscript command gsave. Very
useful if you want to translate or rotate an object without effecting
- other objects. PDF_save should always be
- followed by PDF_restore to restore the environment
- before PDF_save.
+ other objects. pdf_save should always be
+ followed by pdf_restore to restore the environment
+ before pdf_save.
- See also PDF_restore.
+ See also pdf_restore.
- PDF_restore
+ pdf_restore
Restores formerly saved environment
@@ -1224,27 +1224,27 @@ pdf_close($pdfdoc);
- The PDF_restore function restores the
- environment saved with PDF_save. It works
+ The pdf_restore function restores the
+ environment saved with pdf_save. It works
like the postscript command grestore.
Save and Restore
-<?php PDF_save($pdf);
+<?php pdf_save($pdf);
// do all kinds of rotations, transformations, ...
-PDF_restore($pdf) ?>
+pdf_restore($pdf) ?>
- See also PDF_save.
+ See also pdf_save.
- PDF_translate
+ pdf_translate
Sets origin of coordinate system
@@ -1258,25 +1258,25 @@ PDF_restore($pdf) ?>
- The PDF_translate function sets the origin of
+ The pdf_translate function sets the origin of
coordinate system to the point (x-coor,
y-coor) 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
- PDF_translate and before you start drawing
+ pdf_translate and before you start drawing
more objects.
Translation
-<?php PDF_moveto($pdf, 0, 0);
-PDF_lineto($pdf, 100, 100);
-PDF_stroke($pdf);
-PDF_translate($pdf, 100, 100);
-PDF_moveto($pdf, 0, 0);
-PDF_lineto($pdf, 100, 100);
-PDF_stroke($pdf);
+<?php pdf_moveto($pdf, 0, 0);
+pdf_lineto($pdf, 100, 100);
+pdf_stroke($pdf);
+pdf_translate($pdf, 100, 100);
+pdf_moveto($pdf, 0, 0);
+pdf_lineto($pdf, 100, 100);
+pdf_stroke($pdf);
?>
@@ -1285,7 +1285,7 @@ PDF_stroke($pdf);
- PDF_scale
+ pdf_scale
Sets scaling
@@ -1299,7 +1299,7 @@ PDF_stroke($pdf);
- The PDF_scale function sets the scaling factor
+ The pdf_scale 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.
@@ -1307,9 +1307,9 @@ PDF_stroke($pdf);
Scaling
-<?php PDF_scale($pdf, 72.0, 72.0);
-PDF_lineto($pdf, 1, 1);
-PDF_stroke($pdf);
+<?php pdf_scale($pdf, 72.0, 72.0);
+pdf_lineto($pdf, 1, 1);
+pdf_stroke($pdf);
?>
@@ -1318,7 +1318,7 @@ PDF_stroke($pdf);
- PDF_rotate
+ pdf_rotate
Sets rotation
@@ -1331,7 +1331,7 @@ PDF_stroke($pdf);
- The PDF_rotate function sets the rotation in
+ The pdf_rotate function sets the rotation in
degress to angle.
@@ -1339,7 +1339,7 @@ PDF_stroke($pdf);
- PDF_setflat
+ pdf_setflat
Sets flatness
@@ -1352,7 +1352,7 @@ PDF_stroke($pdf);
- The PDF_setflat function sets the flatness to
+ The pdf_setflat function sets the flatness to
a value between 0 and 100.
@@ -1360,7 +1360,7 @@ PDF_stroke($pdf);
- PDF_setlinejoin
+ pdf_setlinejoin
Sets linejoin parameter
@@ -1373,7 +1373,7 @@ PDF_stroke($pdf);
- The PDF_setlinejoin function sets the linejoin
+ The pdf_setlinejoin function sets the linejoin
parameter between a value of 0 and 2.
@@ -1381,7 +1381,7 @@ PDF_stroke($pdf);
- PDF_setlinecap
+ pdf_setlinecap
Sets linecap parameter
@@ -1394,7 +1394,7 @@ PDF_stroke($pdf);
- The PDF_setlinecap function sets the linecap
+ The pdf_setlinecap function sets the linecap
parameter between a value of 0 and 2.
@@ -1402,7 +1402,7 @@ PDF_stroke($pdf);
- PDF_setmiterlimit
+ pdf_setmiterlimit
Sets miter limit
@@ -1415,7 +1415,7 @@ PDF_stroke($pdf);
- The PDF_setmiterlimit function sets the miter limit
+ The pdf_setmiterlimit function sets the miter limit
to a value greater of equal than 1.
@@ -1423,7 +1423,7 @@ PDF_stroke($pdf);
- PDF_setlinewidth
+ pdf_setlinewidth
Sets line width
@@ -1436,7 +1436,7 @@ PDF_stroke($pdf);
- The PDF_setlinewidth function sets the line width
+ The pdf_setlinewidth function sets the line width
to width.
@@ -1444,7 +1444,7 @@ PDF_stroke($pdf);
- PDF_setdash
+ pdf_setdash
Sets dash pattern
@@ -1458,7 +1458,7 @@ PDF_stroke($pdf);
- The PDF_setdash function sets the dash pattern
+ The pdf_setdash function sets the dash pattern
white white points and black
black points. If both are 0 a solid line is set.
@@ -1467,7 +1467,7 @@ PDF_stroke($pdf);
- PDF_moveto
+ pdf_moveto
Sets current point
@@ -1481,7 +1481,7 @@ PDF_stroke($pdf);
- The PDF_moveto function sets the current point
+ The pdf_moveto function sets the current point
to the coordinates x-coor and
y-coor.
@@ -1490,7 +1490,7 @@ PDF_stroke($pdf);
- PDF_curveto
+ pdf_curveto
Draws a curve
@@ -1508,7 +1508,7 @@ PDF_stroke($pdf);
- The PDF_curveto function draws a Bezier curve
+ The pdf_curveto function draws a Bezier curve
from the current point to the point
(x3, y3) using
(x1, y1) and
@@ -1516,16 +1516,16 @@ PDF_stroke($pdf);
points.
- See also PDF_moveto,
- PDF_lineto,
- PDF_stroke.
+ See also pdf_moveto,
+ pdf_lineto,
+ pdf_stroke.
- PDF_lineto
+ pdf_lineto
Draws a line
@@ -1539,21 +1539,21 @@ PDF_stroke($pdf);
- The PDF_lineto function draws a line from
+ The pdf_lineto function draws a line from
the current point to the point with coordinates
(x-coor, y-coor).
- See also PDF_moveto,
- PDF_curveto,
- PDF_stroke.
+ See also pdf_moveto,
+ pdf_curveto,
+ pdf_stroke.
- PDF_circle
+ pdf_circle
Draws a circle
@@ -1568,21 +1568,21 @@ PDF_stroke($pdf);
- The PDF_circle function draws a circle with
+ The pdf_circle function draws a circle with
center at point
(x-coor, y-coor)
and radius radius.
- See also PDF_arc,
- PDF_stroke.
+ See also pdf_arc,
+ pdf_stroke.
- PDF_arc
+ pdf_arc
Draws an arc
@@ -1599,7 +1599,7 @@ PDF_stroke($pdf);
- The PDF_arc function draws an arc with
+ The pdf_arc function draws an arc with
center at point
(x-coor, y-coor)
and radius radius, starting at angle
@@ -1607,15 +1607,15 @@ PDF_stroke($pdf);
end.
- See also PDF_circle,
- PDF_stroke.
+ See also pdf_circle,
+ pdf_stroke.
- PDF_rect
+ pdf_rect
Draws a rectangle
@@ -1631,20 +1631,20 @@ PDF_stroke($pdf);
- The PDF_rect function draws a rectangle with
+ The pdf_rect function draws a rectangle with
its lower left corner at point
(x-coor, y-coor).
This width is set to widgth.
This height is set to height.
- See also PDF_stroke.
+ See also pdf_stroke.
- PDF_closepath
+ pdf_closepath
Closes path
@@ -1656,18 +1656,18 @@ PDF_stroke($pdf);
- The PDF_closepath function closes the
+ The pdf_closepath function closes the
current path. This means, it draws a line from current point to
the point where the first line was started. Many functions like
- PDF_moveto, PDF_circle
- and PDF_rect start a new path.
+ pdf_moveto, pdf_circle
+ and pdf_rect start a new path.
- PDF_stroke
+ pdf_stroke
Draws line along path
@@ -1679,20 +1679,20 @@ PDF_stroke($pdf);
- The PDF_stroke function draws a line along
+ The pdf_stroke function draws a line along
current path. The current path is the sum of all line drawing.
Without this function the line would not be drawn.
- See also PDF_closepath,
- PDF_closepath_stroke.
+ See also pdf_closepath,
+ pdf_closepath_stroke.
- PDF_closepath_stroke
+ pdf_closepath_stroke
Closes path and draws line along path
@@ -1704,20 +1704,20 @@ PDF_stroke($pdf);
- The PDF_closepath_stroke function is a
- combination of PDF_closepath and
- PDF_stroke. It also clears the path.
+ The pdf_closepath_stroke function is a
+ combination of pdf_closepath and
+ pdf_stroke. It also clears the path.
- See also PDF_closepath,
- PDF_stroke.
+ See also pdf_closepath,
+ pdf_stroke.
- PDF_fill
+ pdf_fill
Fills current path
@@ -1729,23 +1729,23 @@ PDF_stroke($pdf);
- The PDF_fill function fills the interior of
+ The pdf_fill function fills the interior of
the current path with the current fill color.
- See also PDF_closepath,
- PDF_stroke,
- PDF_setgray_fill,
- PDF_setgray,
- PDF_setrgbcolor_fill,
- PDF_setrgbcolor.
+ See also pdf_closepath,
+ pdf_stroke,
+ pdf_setgray_fill,
+ pdf_setgray,
+ pdf_setrgbcolor_fill,
+ pdf_setrgbcolor.
- PDF_fill_stroke
+ pdf_fill_stroke
Fills and strokes current path
@@ -1757,24 +1757,24 @@ PDF_stroke($pdf);
- The PDF_fill_stroke function fills the interior of
+ The pdf_fill_stroke function fills the interior of
the current path with the current fill color and draws current path.
- See also PDF_closepath,
- PDF_stroke,
- PDF_fill,
- PDF_setgray_fill,
- PDF_setgray,
- PDF_setrgbcolor_fill,
- PDF_setrgbcolor.
+ See also pdf_closepath,
+ pdf_stroke,
+ pdf_fill,
+ pdf_setgray_fill,
+ pdf_setgray,
+ pdf_setrgbcolor_fill,
+ pdf_setrgbcolor.
- PDF_closepath_fill_stroke
+ pdf_closepath_fill_stroke
Closes, fills and strokes current path
@@ -1786,25 +1786,25 @@ PDF_stroke($pdf);
- The PDF_closepath_fill_stroke function closes,
+ The pdf_closepath_fill_stroke function closes,
fills the interior of
the current path with the current fill color and draws current path.
- See also PDF_closepath,
- PDF_stroke,
- PDF_fill,
- PDF_setgray_fill,
- PDF_setgray,
- PDF_setrgbcolor_fill,
- PDF_setrgbcolor.
+ See also pdf_closepath,
+ pdf_stroke,
+ pdf_fill,
+ pdf_setgray_fill,
+ pdf_setgray,
+ pdf_setrgbcolor_fill,
+ pdf_setrgbcolor.
- PDF_endpath
+ pdf_endpath
Ends current path
@@ -1816,18 +1816,18 @@ PDF_stroke($pdf);
- The PDF_endpath function ends
+ The pdf_endpath function ends
the current path but does not close it.
- See also PDF_closepath.
+ See also pdf_closepath.
- PDF_clip
+ pdf_clip
Clips to current path
@@ -1839,7 +1839,7 @@ PDF_stroke($pdf);
- The PDF_clip function clips all drawing
+ The pdf_clip function clips all drawing
to the current path.
@@ -1847,7 +1847,7 @@ PDF_stroke($pdf);
- PDF_setgray_fill
+ pdf_setgray_fill
Sets filling color to gray value
@@ -1860,18 +1860,18 @@ PDF_stroke($pdf);
- The PDF_setgray_fill function sets the current
+ The pdf_setgray_fill function sets the current
gray value to fill a path.
- See also PDF_setrgbcolor_fill.
+ See also pdf_setrgbcolor_fill.
- PDF_setgray_stroke
+ pdf_setgray_stroke
Sets drawing color to gray value
@@ -1884,18 +1884,18 @@ PDF_stroke($pdf);
- The PDF_setgray_stroke function sets the current
+ The pdf_setgray_stroke function sets the current
drawing color to the given gray value.
- See also PDF_setrgbcolor_stroke.
+ See also pdf_setrgbcolor_stroke.
- PDF_setgray
+ pdf_setgray
Sets drawing and filling color to gray value
@@ -1908,19 +1908,19 @@ PDF_stroke($pdf);
- The PDF_setgray function sets the current
+ The pdf_setgray function sets the current
drawing and filling color to the given gray value.
- See also PDF_setrgbcolor_stroke,
- PDF_setrgbcolor_fill.
+ See also pdf_setrgbcolor_stroke,
+ pdf_setrgbcolor_fill.
- PDF_setrgbcolor_fill
+ pdf_setrgbcolor_fill
Sets filling color to rgb color value
@@ -1935,18 +1935,18 @@ PDF_stroke($pdf);
- The PDF_setrgbcolor_fill function sets the current
+ The pdf_setrgbcolor_fill function sets the current
rgb color value to fill a path.
- See also PDF_setrgbcolor_fill.
+ See also pdf_setrgbcolor_fill.
- PDF_setrgbcolor_stroke
+ pdf_setrgbcolor_stroke
Sets drawing color to rgb color value
@@ -1961,18 +1961,18 @@ PDF_stroke($pdf);
- The PDF_setrgbcolor_stroke function sets the current
+ The pdf_setrgbcolor_stroke function sets the current
drawing color to the given rgb color value.
- See also PDF_setrgbcolor_stroke.
+ See also pdf_setrgbcolor_stroke.
- PDF_setrgbcolor
+ pdf_setrgbcolor
Sets drawing and filling color to rgb color value
@@ -1987,19 +1987,19 @@ PDF_stroke($pdf);
- The PDF_setrgbcolor_stroke function sets the current
+ The pdf_setrgbcolor_stroke function sets the current
drawing and filling color to the given rgb color value.
- See also PDF_setrgbcolor_stroke,
- PDF_setrgbcolor_fill.
+ See also pdf_setrgbcolor_stroke,
+ pdf_setrgbcolor_fill.
- PDF_add_outline
+ pdf_add_outline
Adds bookmark for current page
@@ -2014,7 +2014,7 @@ PDF_stroke($pdf);
- The PDF_add_outline function adds a bookmark
+ The pdf_add_outline function adds a bookmark
with text text that points to the current page.
The bookmark is inserted as a child of parent and
is by default open if open is not 0. The
@@ -2033,7 +2033,7 @@ PDF_stroke($pdf);
- PDF_set_transition
+ pdf_set_transition
Sets transition between pages
@@ -2046,7 +2046,7 @@ PDF_stroke($pdf);
- The PDF_set_transition function set the transition
+ The pdf_set_transition function set the transition
between following pages. The value of transition
can be
@@ -2077,13 +2077,13 @@ PDF_stroke($pdf);
- See also PDF_set_duration.
+ See also pdf_set_duration.
- PDF_set_duration
+ pdf_set_duration
Sets duration between pages
@@ -2096,16 +2096,16 @@ PDF_stroke($pdf);
- The PDF_set_duration function set the duration
+ The pdf_set_duration function set the duration
between following pages in seconds.
- See also PDF_set_transition.
+ See also pdf_set_transition.
- PDF_open_gif
+ pdf_open_gif
Opens a GIF image
@@ -2118,7 +2118,7 @@ PDF_stroke($pdf);
- The PDF_open_gif function opens an image stored
+ The pdf_open_gif function opens an image stored
in the file with the name filename.
The format of the image has to be gif. The function returns a pdf
image identifier.
@@ -2130,7 +2130,7 @@ PDF_stroke($pdf);
Including a gif image
<?php
-$im = PDF_open_gif($pdf, "test.gif");
+$im = pdf_open_gif($pdf, "test.gif");
pdf_place_image($pdf, $im, 100, 100, 1);
pdf_close_image($pdf, $im);
?>
@@ -2138,18 +2138,18 @@ pdf_close_image($pdf, $im);
- See also PDF_close_image,
- PDF_open_jpeg,
- PDF_open_memory_image,
- PDF_execute_image,
- PDF_place_image,
- PDF_put_image.
+ See also pdf_close_image,
+ pdf_open_jpeg,
+ pdf_open_memory_image,
+ pdf_execute_image,
+ pdf_place_image,
+ pdf_put_image.
- PDF_open_png
+ pdf_open_png
Opens a PNG image
@@ -2170,7 +2170,7 @@ pdf_close_image($pdf, $im);
- The PDF_open_png function opens an image stored
+ The pdf_open_png function opens an image stored
in the file with the name filename.
The format of the image has to be png. The function returns a pdf
image identifier.
@@ -2181,7 +2181,7 @@ pdf_close_image($pdf, $im);
Including a PNG image
<?php
-$im = PDF_open_png ($pdf, "test.png");
+$im = pdf_open_png ($pdf, "test.png");
pdf_place_image ($pdf, $im, 100, 100, 1);
pdf_close_image ($pdf, $im);
?>
@@ -2189,20 +2189,20 @@ pdf_close_image ($pdf, $im);
- See also PDF_close_image,
- PDF_open_jpeg,
- PDF_open_gif,
- PDF_open_memory_image,
- PDF_execute_image,
- PDF_place_image,
- PDF_put_image.
+ See also pdf_close_image,
+ pdf_open_jpeg,
+ pdf_open_gif,
+ pdf_open_memory_image,
+ pdf_execute_image,
+ pdf_place_image,
+ pdf_put_image.
- PDF_open_image_file
+ pdf_open_image_file
Reads an image from a file
@@ -2216,7 +2216,7 @@ pdf_close_image ($pdf, $im);
- The function PDF_open_image_file reads an image
+ The function pdf_open_image_file reads an image
of format format from the file
filename.
Possible formats are 'png', 'tiff', 'jpeg' and 'gif'.
@@ -2225,7 +2225,7 @@ pdf_close_image ($pdf, $im);
Inserting an image
<?php
-$pim = PDF_open_image_file($pdf, "png", "picture.png");
+$pim = pdf_open_image_file($pdf, "png", "picture.png");
pdf_place_image($pdf, $pim, 100, 100, 1);
pdf_close_image($pdf, $pim);
?>
@@ -2233,20 +2233,20 @@ pdf_close_image($pdf, $pim);
- See also PDF_close_image,
- PDF_open_jpeg,
- PDF_open_gif,
- PDF_open_tiff,
- PDF_open_png,
- PDF_execute_image,
- PDF_place_image,
- PDF_put_image.
+ See also pdf_close_image,
+ pdf_open_jpeg,
+ pdf_open_gif,
+ pdf_open_tiff,
+ pdf_open_png,
+ pdf_execute_image,
+ pdf_place_image,
+ pdf_put_image.
- PDF_open_memory_image
+ pdf_open_memory_image
Opens an image created with PHP's image functions
@@ -2259,7 +2259,7 @@ pdf_close_image($pdf, $pim);
- The PDF_open_memory_image function takes
+ The pdf_open_memory_image function takes
an image created with the PHP's image functions and makes it available
for the pdf document. The function returns a pdf
image identifier.
@@ -2271,7 +2271,7 @@ pdf_close_image($pdf, $pim);
$im = ImageCreate(100, 100);
$col = ImageColorAllocate($im, 80, 45, 190);
ImageFill($im, 10, 10, $col);
-$pim = PDF_open_memory_image($pdf, $im);
+$pim = pdf_open_memory_image($pdf, $im);
ImageDestroy($im);
pdf_place_image($pdf, $pim, 100, 100, 1);
pdf_close_image($pdf, $pim);
@@ -2280,19 +2280,19 @@ pdf_close_image($pdf, $pim);
- See also PDF_close_image,
- PDF_open_jpeg,
- PDF_open_gif,
- PDF_open_png
- PDF_execute_image,
- PDF_place_image,
- PDF_put_image.
+ See also pdf_close_image,
+ pdf_open_jpeg,
+ pdf_open_gif,
+ pdf_open_png
+ pdf_execute_image,
+ pdf_place_image,
+ pdf_put_image.
- PDF_open_jpeg
+ pdf_open_jpeg
Opens a JPEG image
@@ -2305,7 +2305,7 @@ pdf_close_image($pdf, $pim);
- The PDF_open_jpeg function opens an image stored
+ The pdf_open_jpeg function opens an image stored
in the file with the name filename.
The format of the image has to be jpeg. The function returns a pdf
image identifier.
@@ -2313,19 +2313,19 @@ pdf_close_image($pdf, $pim);
the function pdf_open_image_file instead.
- See also PDF_close_image,
- PDF_open_gif,
- PDF_open_png,
- PDF_open_memory_image,
- PDF_execute_image,
- PDF_place_image,
- PDF_put_image.
+ See also pdf_close_image,
+ pdf_open_gif,
+ pdf_open_png,
+ pdf_open_memory_image,
+ pdf_execute_image,
+ pdf_place_image,
+ pdf_put_image.
- PDF_open_tiff
+ pdf_open_tiff
Opens a TIFF image
@@ -2338,7 +2338,7 @@ pdf_close_image($pdf, $pim);
- The PDF_open_tiff function opens an image stored
+ The pdf_open_tiff function opens an image stored
in the file with the name filename.
The format of the image has to be tiff. The function returns a pdf
image identifier.
@@ -2347,14 +2347,14 @@ pdf_close_image($pdf, $pim);
- See also PDF_close_image,
- PDF_open_gif,
- PDF_open_jpeg,
- PDF_open_png,
- PDF_open_memory_image,
- PDF_execute_image,
- PDF_place_image,
- PDF_put_image.
+ See also pdf_close_image,
+ pdf_open_gif,
+ pdf_open_jpeg,
+ pdf_open_png,
+ pdf_open_memory_image,
+ pdf_execute_image,
+ pdf_place_image,
+ pdf_put_image.
@@ -2362,7 +2362,7 @@ pdf_close_image($pdf, $pim);
- PDF_close_image
+ pdf_close_image
Closes an image
@@ -2374,19 +2374,19 @@ pdf_close_image($pdf, $pim);
- The PDF_close_image function closes an image
- which has been opened with any of the PDF_open_xxx
+ The pdf_close_image function closes an image
+ which has been opened with any of the pdf_open_xxx
functions.
- See also PDF_open_jpeg,
- PDF_open_gif,
- PDF_open_memory_image.
+ See also pdf_open_jpeg,
+ pdf_open_gif,
+ pdf_open_memory_image.
- PDF_place_image
+ pdf_place_image
Places an image on the page
@@ -2402,20 +2402,20 @@ pdf_close_image($pdf, $pim);
- The PDF_place_image function places an image
+ The pdf_place_image function places an image
on the page at postion (x-coor,
x-coor). The image can be scaled at the same
time.
- See also PDF_put_image.
+ See also pdf_put_image.
- PDF_put_image
+ pdf_put_image
Stores an image in the PDF for later use
@@ -2428,28 +2428,28 @@ pdf_close_image($pdf, $pim);
- The PDF_put_image function places an image
+ The pdf_put_image function places an image
in the PDF file without showing it. The stored image can be
- displayed with the PDF_execute_image
+ displayed with the pdf_execute_image
function as many times as needed. This is useful when using the same
image multiple times in order to keep the file size small. Using
- PDF_put_image and
- PDF_execute_image is highly recommended for
+ pdf_put_image and
+ pdf_execute_image is highly recommended for
larger images (several kb) if they show up more than once in the
document.
This function has become meaningless with version
2.01 of pdflib. It will just output a warning.
- See also PDF_put_image,
- PDF_place_image,
- PDF_execute_image.
+ See also pdf_put_image,
+ pdf_place_image,
+ pdf_execute_image.
- PDF_execute_image
+ pdf_execute_image
Places a stored image on the page
@@ -2465,8 +2465,8 @@ pdf_close_image($pdf, $pim);
- The PDF_execute_image function displays an image that has been
- put in the PDF file with the PDF_put_image
+ The pdf_execute_image function displays an image that has been
+ put in the PDF file with the pdf_put_image
function on the current page at the given coordinates.
The image can be scaled while displaying it. A scale of 1.0
@@ -2482,7 +2482,7 @@ pdf_close_image($pdf, $pim);
$im = ImageCreate(100, 100);
$col1 = ImageColorAllocate($im, 80, 45, 190);
ImageFill($im, 10, 10, $col1);
-$pim = PDF_open_memory_image($pdf, $im);
+$pim = pdf_open_memory_image($pdf, $im);
pdf_put_image($pdf, $pim);
pdf_execute_image($pdf, $pim, 100, 100, 1);
pdf_execute_image($pdf, $pim, 200, 200, 2);
@@ -2524,7 +2524,7 @@ pdf_close_image($pdf, $pim);
- PDF_set_border_style
+ pdf_set_border_style
Sets style of border around links and annotations
@@ -2538,19 +2538,19 @@ pdf_close_image($pdf, $pim);
- The PDF_set_border_style function sets the
+ The pdf_set_border_style function sets the
style and width of the suroundig box of links and annotations.
The parameter style can be 'solid' or
'dashed'.
- See also PDF_set_border_color,
- PDF_set_border_dash.
+ See also pdf_set_border_color,
+ pdf_set_border_dash.
- PDF_set_border_color
+ pdf_set_border_color
Sets color of border around links and annotations
@@ -2565,19 +2565,19 @@ pdf_close_image($pdf, $pim);
- The PDF_set_border_color function sets the
+ The pdf_set_border_color function sets the
color of the suroundig box of links and annotations.
The three color components have to have a value between 0.0 and
1.0.
- See also PDF_set_border_style,
- PDF_set_border_dash.
+ See also pdf_set_border_style,
+ pdf_set_border_dash.
- PDF_set_border_dash
+ pdf_set_border_dash
Sets dash style of border around links and annotations
@@ -2591,13 +2591,13 @@ pdf_close_image($pdf, $pim);
- The PDF_set_border_dash function sets the
+ The pdf_set_border_dash function sets the
lenght of
black and white areas of a dashed line of the suroundig box of
links and annotations.
- See also PDF_set_border_style,
- PDF_set_border_color.
+ See also pdf_set_border_style,
+ pdf_set_border_color.