RE: [iText-questions] moveTo, lineTo - what are the coordinates?
Maybe a round cap (style 1). Best Regards, Paulo Soares > -Original Message- > From: David Thielen [SMTP:[EMAIL PROTECTED]] > Sent: Saturday, January 11, 2003 20:25 > To: itext > Subject: Re: [iText-questions] moveTo, lineTo - what are the > coordinates? > > For the problem I'm facing which end line shape should I use? > > thanks - dave > > > - Original Message - > From: "Paulo Soares" <[EMAIL PROTECTED]> > To: "David Thielen" <[EMAIL PROTECTED]>; "itext" > <[EMAIL PROTECTED]> > Sent: Saturday, January 11, 2003 1:02 PM > Subject: Re: [iText-questions] moveTo, lineTo - what are the coordinates? > > > > The end line shape depends on PdfContentByte.setLineCap(). > > > > Best Regards, > > Paulo Soares > > > > - Original Message - > > From: "David Thielen" <[EMAIL PROTECTED]> > > To: "itext" <[EMAIL PROTECTED]> > > Sent: Saturday, January 11, 2003 4:19 > > Subject: Re: [iText-questions] moveTo, lineTo - what are the > coordinates? > > > > > > > Hi; > > > > > > I may not have explained this very well. First, I have to write my > > > various lines at different times and get them to join up seamlessly. > To > > > make it all one path would require some very painful coding. Plus the > > > line width & dashes change from segment to segment. > > > > > > So lets say I am drawing a horizontal line (all coordinates in pixels) > > > from 12,24 to 50,24. And I am drawing a vertical line from 12,24 to > 12, > > > 60. And I want a nice square corner. And both lines are 3 pixels wide. > > > > > > Then if I do moveTo(11,24) / lineTo (51,24) I should get 3 lines (in > > > pixels) 11,23->51,23; 11,24->51,24; 11,25->51,25. > > > Then if I do moveTo(12,23) / lineTo (12,61) I should get 3 lines (in > > > pixels) 11,23->11,61; 12,23->12,61; 13,23->13,61. > > > > > > And in this case the upper left pixel of the corner should be 11,23 > and > > > it should coem out square. But it doesn't. > > > > > > thanks - help - dave > > > > > > > > > > > > - Original Message - > > > From: David Thielen <mailto:[EMAIL PROTECTED]> > > > To: itext <mailto:[EMAIL PROTECTED]> > > > Sent: Friday, January 10, 2003 9:03 PM > > > Subject: [iText-questions] moveTo, lineTo - what are the coordinates? > > > > > > Hi; > > > > > > When I do a moveTo/lineTo - the coordinates are to what part of the > > > end-point. I am having a problem getting two lines to join properly if > I > > > draw them seperately. I am assuming that the endpoints are in the > center > > > of the width of the line - is that true? > > > > > > thanks - dave > > > > > > > > > > > > > > --- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > http://www.vasoftware.com > > ___ > > iText-questions mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > > --- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > ___ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Re: [iText-questions] moveTo, lineTo - what are the coordinates?
For the problem I'm facing which end line shape should I use? thanks - dave - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "David Thielen" <[EMAIL PROTECTED]>; "itext" <[EMAIL PROTECTED]> Sent: Saturday, January 11, 2003 1:02 PM Subject: Re: [iText-questions] moveTo, lineTo - what are the coordinates? > The end line shape depends on PdfContentByte.setLineCap(). > > Best Regards, > Paulo Soares > > - Original Message - > From: "David Thielen" <[EMAIL PROTECTED]> > To: "itext" <[EMAIL PROTECTED]> > Sent: Saturday, January 11, 2003 4:19 > Subject: Re: [iText-questions] moveTo, lineTo - what are the coordinates? > > > > Hi; > > > > I may not have explained this very well. First, I have to write my > > various lines at different times and get them to join up seamlessly. To > > make it all one path would require some very painful coding. Plus the > > line width & dashes change from segment to segment. > > > > So lets say I am drawing a horizontal line (all coordinates in pixels) > > from 12,24 to 50,24. And I am drawing a vertical line from 12,24 to 12, > > 60. And I want a nice square corner. And both lines are 3 pixels wide. > > > > Then if I do moveTo(11,24) / lineTo (51,24) I should get 3 lines (in > > pixels) 11,23->51,23; 11,24->51,24; 11,25->51,25. > > Then if I do moveTo(12,23) / lineTo (12,61) I should get 3 lines (in > > pixels) 11,23->11,61; 12,23->12,61; 13,23->13,61. > > > > And in this case the upper left pixel of the corner should be 11,23 and > > it should coem out square. But it doesn't. > > > > thanks - help - dave > > > > > > > > - Original Message - > > From: David Thielen <mailto:[EMAIL PROTECTED]> > > To: itext <mailto:[EMAIL PROTECTED]> > > Sent: Friday, January 10, 2003 9:03 PM > > Subject: [iText-questions] moveTo, lineTo - what are the coordinates? > > > > Hi; > > > > When I do a moveTo/lineTo - the coordinates are to what part of the > > end-point. I am having a problem getting two lines to join properly if I > > draw them seperately. I am assuming that the endpoints are in the center > > of the width of the line - is that true? > > > > thanks - dave > > > > > > > > --- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > ___ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Re: [iText-questions] moveTo, lineTo - what are the coordinates?
The end line shape depends on PdfContentByte.setLineCap(). Best Regards, Paulo Soares - Original Message - From: "David Thielen" <[EMAIL PROTECTED]> To: "itext" <[EMAIL PROTECTED]> Sent: Saturday, January 11, 2003 4:19 Subject: Re: [iText-questions] moveTo, lineTo - what are the coordinates? > Hi; > > I may not have explained this very well. First, I have to write my > various lines at different times and get them to join up seamlessly. To > make it all one path would require some very painful coding. Plus the > line width & dashes change from segment to segment. > > So lets say I am drawing a horizontal line (all coordinates in pixels) > from 12,24 to 50,24. And I am drawing a vertical line from 12,24 to 12, > 60. And I want a nice square corner. And both lines are 3 pixels wide. > > Then if I do moveTo(11,24) / lineTo (51,24) I should get 3 lines (in > pixels) 11,23->51,23; 11,24->51,24; 11,25->51,25. > Then if I do moveTo(12,23) / lineTo (12,61) I should get 3 lines (in > pixels) 11,23->11,61; 12,23->12,61; 13,23->13,61. > > And in this case the upper left pixel of the corner should be 11,23 and > it should coem out square. But it doesn't. > > thanks - help - dave > > > > - Original Message - > From: David Thielen <mailto:[EMAIL PROTECTED]> > To: itext <mailto:[EMAIL PROTECTED]> > Sent: Friday, January 10, 2003 9:03 PM > Subject: [iText-questions] moveTo, lineTo - what are the coordinates? > > Hi; > > When I do a moveTo/lineTo - the coordinates are to what part of the > end-point. I am having a problem getting two lines to join properly if I > draw them seperately. I am assuming that the endpoints are in the center > of the width of the line - is that true? > > thanks - dave > > --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
Re: [iText-questions] moveTo, lineTo - what are the coordinates?
Hi; I may not have explained this very well. First, I have to write my various lines at different times and get them to join up seamlessly. To make it all one path would require some very painful coding. Plus the line width & dashes change from segment to segment. So lets say I am drawing a horizontal line (all coordinates in pixels) from 12,24 to 50,24. And I am drawing a vertical line from 12,24 to 12, 60. And I want a nice square corner. And both lines are 3 pixels wide. Then if I do moveTo(11,24) / lineTo (51,24) I should get 3 lines (in pixels) 11,23->51,23; 11,24->51,24; 11,25->51,25. Then if I do moveTo(12,23) / lineTo (12,61) I should get 3 lines (in pixels) 11,23->11,61; 12,23->12,61; 13,23->13,61. And in this case the upper left pixel of the corner should be 11,23 and it should coem out square. But it doesn't. thanks - help - dave - Original Message - From: David Thielen To: itext Sent: Friday, January 10, 2003 9:03 PM Subject: [iText-questions] moveTo, lineTo - what are the coordinates? Hi; When I do a moveTo/lineTo - the coordinates are to what part of the end-point. I am having a problem getting two lines to join properly if I draw them seperately. I am assuming that the endpoints are in the center of the width of the line - is that true? thanks - dave
[iText-questions] moveTo, lineTo - what are the coordinates?
Hi; When I do a moveTo/lineTo - the coordinates are to what part of the end-point. I am having a problem getting two lines to join properly if I draw them seperately. I am assuming that the endpoints are in the center of the width of the line - is that true? thanks - dave