From:             [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to