Date: 04/15/01
- Next message: graeme <email protected>: "[PHP-DEV] Bug #10335: Incorrect paramters for pdf_setdash()"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] always building cgi..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: graeme <email protected>
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-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: graeme <email protected>: "[PHP-DEV] Bug #10335: Incorrect paramters for pdf_setdash()"
- Previous message: Sascha Schumann: "Re: [PHP-DEV] always building cgi..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

