[iText-questions] PdfGraphics2D save/restore problem in Acrobat 4

2002-04-23 Thread Jeremy Bowman
I commented before that I avoided using saveState() and restoreState() to implement clipping in my PdfGraphics code because it generated invalid files more often than not...now I know partially why. The following code uses the PdfGraphics2D code in iText 0.91 to set a clipping region and draw

Re: PdfGraphics2D class (RE: [iText-questions] generating graphs)

2002-04-10 Thread Jeremy Bowman
Wow, there was a lot of discussion on this today...I'll just throw out some responses to points Jim made in case any of it is useful: Right now, though the drawing target has changed to a template, the rest is still based around a document and writer (required in constructor). Maybe it makes