Bug #10334 Updated: Incorrect paramters for pdf_setdash
| From: | sniper@php.net | Date: | Fri, 15 Jun 2001 10:44:10 +0000 |
| Subject: | Bug #10334 Updated: Incorrect paramters for pdf_setdash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57011@lists.php.net to get a copy of this message | ||
ID: 10334
Updated by: sniper
Reported By: graeme@inetix.com.au
Old-Status: Open
Status: Closed
Bug Type: PDF related
Operating system:
PHP Version: 4.0 Latest CVS (15/04/2001)
Assigned To:
Comments:
Proto fixed in CVS. Docs are ok.
Previous Comments:
---------------------------------------------------------------------------
[2001-04-15 10:11:31] graeme@inetix.com.au
According to the docs for pdflib pdf_setdash should have the following parameters: void
PDF_setdash(PDF *p,float b,float w)
In the PHP sources white and black have been transposed to to
pdf_setdash(int pdfdoc, double white, double black)
When using the function going from
pdf_setdash($pdf, 10, 5);
to
pdf_setdash($pdf, 20, 5);
rather then the length of the white dash portion increasing, the length of the black increases
instead.
The proto desc for the function just needs to be updated. Also filing a documentation bug.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10334&edit=2