From 06cb34224c07efe1a6835777d7387efbf10e86da Mon Sep 17 00:00:00 2001 From: Rainer Schaaf Date: Thu, 1 Mar 2001 19:52:54 +0000 Subject: [PATCH] - integrated new functions vor PDFlib V4.0 (beta1) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@42449 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/pdf.xml | 386 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 383 insertions(+), 3 deletions(-) diff --git a/functions/pdf.xml b/functions/pdf.xml index a92bc68dc9..2d63c7c122 100644 --- a/functions/pdf.xml +++ b/functions/pdf.xml @@ -572,6 +572,26 @@ PDF_delete($pdf); + + + PDF_add_thumbnail + Adds thumbnail for current page + + + Description + + + int PDF_add_thumbnail + int pdf object + int image + + + + Add an existing image as thumbnail for the current page. + + + + PDF_add_weblink @@ -620,6 +640,30 @@ PDF_delete($pdf); + + + PDF_arcn + Draws an arc + + + Description + + + void PDF_arc + int pdf object + double x + double y + double r + double alpha + double beta + + + + Draw a clockwise circular arc from alpha to beta degrees + + + + PDF_attach_file @@ -670,6 +714,51 @@ PDF_delete($pdf); + + + PDF_begin_pattern + Starts new pattern + + + Description + + + void PDF_begin_pattern + int pdf object + double width + double height + double xstep/parameter> + double ystep + int painttype + + + + Start a new pattern definition. + + + + + + + PDF_begin_template + Starts new template + + + Description + + + void PDF_begin_template + int pdf object + double width + double height + + + + Start a new template definition. + + + + PDF_circle @@ -807,6 +896,51 @@ PDF_delete($pdf); + + + PDF_close_pdi + Close the input PDF document. + + + + + Description + + + void PDF_close_pdi + int pdf object + int dochandle + + + + Close all open page handles, and close the input PDF document. + + + + + + + PDF_close_pdi_page + Close the page handle. + + + + + Description + + + void PDF_close_pdi_page + int pdf object + int dochandle + int pagehandle + + + + Close the page handle, and free all page-related resources. + + + + PDF_concat @@ -921,16 +1055,48 @@ PDF_delete($pdf); PDF_endpath Depreciated: Ends current path + + Description + + Deprecated, use one of the stroke, fill, or clip functions instead. + + + + + + + PDF_endpattern + Finish pattern + Description - void PDF_endpath + void PDF_endpattern int pdf object - Deprecated, use one of the stroke, fill, or clip functions instead. + Finish the pattern definition. + + + + + + + PDF_end_template + Finish template + + + Description + + + void PDF_end_template + int pdf object + + + + Finish the template definition. @@ -1130,6 +1296,52 @@ PDF_delete($pdf); + + + PDF_get_pdi_parameter + Get some PDI string parameters + + + Description + + + string PDF_get_pdi_parameter + int pdf object + string key + int doc + int page + int index + + + + Get the contents of some PDI document parameter with string type. + + + + + + + PDF_get_pdi_value + Gets some PDI numerical parameters + + + Description + + + string PDF_get_pdi_value + int pdf object + string key + int doc + int page + int index + + + + Get the contents of some PDI document parameter with numerical type. + + + + PDF_get_value @@ -1151,6 +1363,25 @@ PDF_delete($pdf); + + + PDF_initgraphics + Resets graphic state + + + Description + + + void PDF_initgraphics + int pdf object + + + + Reset all implicit color and graphics state parameters to their defaults. + + + + PDF_lineto @@ -1173,6 +1404,26 @@ PDF_delete($pdf); + + + PDF_makespotcolor + Makes a spotcolor + + + Description + + + void PDF_makespotcolor + int pdf object + string spotname + + + + Make a named spot color from the current color. + + + + PDF_moveto @@ -1372,6 +1623,54 @@ PDF_delete($pdf); + + + PDF_open_pdi + + Opens a PDF file + + + + Description + + + void PDF_open_pdi + int pdf object + string filename + string stringparam + int intparam + + + + Open an existing PDF document for later use. + + + + + + + PDF_open_pdi_page + + Prepare a page + + + + Description + + + void PDF_open_pd_pagei + int pdf object + int dochandle + int pagenumber + string pagelabel + + + + Prepare a page for later use with PDF_place_image + + + + PDF_open_png @@ -1539,6 +1838,32 @@ PDF_delete($pdf); + + + PDF_setcolor + Sets fill and stroke color to CMYK values + + + Description + + + void PDF_secolor + int pdf object + string type + string colorspace + double c1 + double c2 + double c3 + double c4 + + + + Set the current color space and color. type is "fill", + "stroke", or "both". + + + + PDF_setdash @@ -1620,6 +1945,11 @@ PDF_delete($pdf); Set the current fill and stroke color. + + + PDFlib V4.0: Depreciated, use PDF_setcolor instead. + + @@ -1640,6 +1970,11 @@ PDF_delete($pdf); Set the current fill color to a gray value between 0 and 1 inclusive. + + + PDFlib V4.0: Depreciated, use PDF_setcolor instead. + + @@ -1660,6 +1995,11 @@ PDF_delete($pdf); Set the current stroke color to a gray value between 0 and 1 inclusive + + + PDFlib V4.0: Depreciated, use PDF_setcolor instead. + + @@ -1723,6 +2063,31 @@ PDF_delete($pdf); + + + PDF_setmatrix + Sets current transformation matrix + + + Description + + + void PDF_setmatrix + int pdf object + double a + double b + double c + double d + double e + double f + + + + Explicitly set the current transformation matrix. + + + + PDF_setmiterlimit @@ -1782,6 +2147,11 @@ PDF_delete($pdf); Set the current fill and stroke color to the supplied RGB values. + + + PDFlib V4.0: Depreciated, use PDF_setcolor instead. + + @@ -1804,6 +2174,11 @@ PDF_delete($pdf); Set the current fill color to the supplied RGB values. + + + PDFlib V4.0: Depreciated, use PDF_setcolor instead. + + @@ -1826,9 +2201,14 @@ PDF_delete($pdf); Set the current stroke color to the supplied RGB values. + + + PDFlib V4.0: Depreciated, use PDF_setcolor instead. + + - + PDF_set_border_color