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?

would like to know your thoughts.

thanks

Reply via email to