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).
I tried this with: moveTo ( 72, 72 ) lineTo (144, 72 ) lineTo (144, 144 ) lineTo (72, 144 ) lineTo ( 72, 72 ) stroke() The first 3 corners were nicely joined. But the corner at 72, 72 was not - it was a clear start and end there. Any ideas? thanks - dave ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "David Thielen" <[EMAIL PROTECTED]> Cc: "itext" <[EMAIL PROTECTED]> Sent: Tuesday, July 22, 2003 9:04 PM Subject: Re: [iText-questions] continuous line that changes > > 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 sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions