> Please reply to me as well as the list - my spam filter is dropping a lot of the 
> mail to the list (trying to figure it out).
> 
> Heres my question:
> 
> I have a line that changes width as it goes. But I want Acrobat to know it's one 
> line so it joins up the corners right. Is there any way to do this other than:
>   setLineWidth(10);
>   moveTo(x1, y1);
>   lineTo(x2, y2);
>   stroke();
>   setLineWidth(20)
>   moveTo(x2, y2);
>   lineTo(x3, y3);
>   stroke();
> Because in the above I believe after each call to stroke it is then considered a new 
> line even though the second moveTo is to the same location as the previous lineTo.
> 

        Unfortunately, you have to do this way since it stems from
PostScript. You have to change the graphic state. Line width is one of the
graphic state. Acrobat does not understand what a continuous line
is. However, Acrobat joins them beautifully.

-- 
With regards

Phillip Pan
-----------



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to