Bug #10334: Incorrect paramters for pdf_setdash
| From: | graeme at inetix dot com dot au | Date: | Sun, 15 Apr 2001 14:11:31 +0000 |
| Subject: | Bug #10334: Incorrect paramters for pdf_setdash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51608@lists.php.net to get a copy of this message | ||
From: graeme@inetix.com.au
Operating system: Linux-i386
PHP version: 4.0 Latest CVS (15/04/2001)
PHP Bug Type: PDF related
Bug description: Incorrect paramters for pdf_setdash
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.
--
Edit Bug report at: http://bugs.php.net/?id=10334&edit=1