xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Ringer <ring...@ringerc.id.au>
Subject Difference between RenderingContext and RendererContext
Date Fri, 16 Dec 2011 13:33:39 GMT
Hi all

While reading over the pdf-image extension and fop code, I'm having a 
bit of an interesting time figuring out the difference between a few 
things and was hoping for a very brief pointer.

I'm not quite sure what differentiates 
org.apache.fop.render.RendererContext from 
org.apache.fop.render.RendererContext . The JavaDoc comments don't 
really differentiate them and they look quite similar.

This isn't helped by the fact that the pdf-image extension provides two 
image handlers - one implements PDFImageHandler and takes a 
RendererContext, while the other implements ImageHandler and takes a 
RenderingContext. They seem to do much the same thing.

Is this a case of old-backwards-compat-code meets new-code? If so, which 
should I target for future work?


Craig Ringer

View raw message