Hi Tilman i uploaded the PDF file.
i set the 2nd half of the line to color blue so you can see where it is being drawn thank you mark On Fri, Aug 25, 2017 at 1:09 AM, Tilman Hausherr <[email protected]> wrote: > Am 24.08.2017 um 11:57 schrieb chitgoks: > >> hi im working on an appearance stream for line dimension and this is the >> closest that i came across >> >> https://issues.apache.org/jira/secure/attachment/12805085/ >> showAnnotation.java >> >> bottom most if condition >> >> the code actually works. partially. >> >> i assumed that once you rotate the content stream's matrix you can treat >> it >> as like a normal angle view . what i mean is that in the code that says >> >> cs.moveTo(0, 0); >> cs.lineTo(0 + xOffset, 0); >> >> so it draws a line from 0, to the xOffset value. >> >> However, the 2nd moveTo does not work. I assumed that once you create >> a line, calling moveTo will let you move to another coordinate. But it >> does not create the 2nd line correctly after the text label. >> >> is there a way for this? the only thing i can think of is to reset the >> content stream's rotate matrix back to its original and rotate it back >> again. >> >> or perhaps the code is incomplete? >> > > I wrote that part. I uploaded it to the issue in case something would > suddenly happen to me. > > It hasn't been committed to the trunk because I'm waiting for some class > hierarchy modification. > > If you think there's a bug, please upload a file to that issue with a line > annotation where the appearance stream is incorrectly generated. > > Tilman > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

