Hi,

I've been playing around with ClibPDF and am pulling my hair out trying
to figure out some functions, specifically, cpdf_rect. and cpdf_lineto.
They seem straight forward enough, but I just can't get them to work.

Here's what I've tried so far:

cpdf_setrgbcolor_fill($pdf, 253, 15, 15);
cpdf_rect($pdf,10,300,400,400, 0);
cpdf_closepath($pdf);
cpdf_fill($pdf);
cpdf_stroke($pdf);

and

cpdf_moveto($pdf, 50, 50);
cpdf_lineto($pdf, 200, 350);
cpdf_closepath($pdf);
cpdf_fill($pdf);
cpdf_stroke($pdf);

Any thoughts?  What am I doing wrong???

Thanks,

Grant


-- 
PHP General 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