I guess the Painter classes are the ones you want to look at (PSPainter and so on).

On 12/4/13, 4:02 PM, Sebastien HO wrote:
Hi,

I am trying to upgrade an extension that has been written on FOP V0.95 to
FOP V1.1.

Some classes have been deleted from one version to the other one which leads
to compilation issues. I guess code structure have changed.

The classes that are missing are :
-  org.apache.fop.pdf.PDFState :
        I use this class to get the current AffineTransform
        Java Code :
                AffineTransform transform =
pdfi.currentState.getTransform();
                transform.scale(0.001D, 0.001D);
                pdfi.aRect = transform.createTransformedShape(new
Rectangle2D.Float(pdfi.posX, pdfi.posY, pdfi.width,
pdfi.height)).getBounds2D();

     Can someone tell me where can I get this information?

The following have also been deleted :
-org.apache.fop.render.ps.PSRenderer and
org.apache.fop.render.ps.PSRendererMaker
-org.apache.fop.render.afp.AFPRenderer and
org.apache.fop.render.afp.AFPRendererMaker
-org.apache.fop.render.plc.PLCRenderer and
org.apache.fop.render.plc.PLCRendererMaker

Can someone tell me how it works to access rendering class?

Regards,

Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to