diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-05-04 07:24:18 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-05-04 07:24:18 +0000 |
commit | 956c6ac30199e427442ccd7ac829cb2d78cce856 (patch) | |
tree | 3396f9abe1a2c9669a0990fb436987bee50870ab /src/sandbox/org/apache/fop/render/pcl/PCLGraphics2DAdapter.java | |
parent | fc3f1a4c0a64e7f5559e30fbd2664900326d8359 (diff) | |
download | xmlgraphics-fop-956c6ac30199e427442ccd7ac829cb2d78cce856.tar.gz xmlgraphics-fop-956c6ac30199e427442ccd7ac829cb2d78cce856.zip |
fox:disable-clipping on the i-f-o or e-g can be used to perform more painting operations natively in the HP GL/2 space. Since HP GL/2 provides only limited clipping functionality (which is not supported, yet) and the PCLGraphics2D fails with an UnsupportedException if it encounters an unsupported painting operation, every SVG graphic ends up being painted as a bitmap. This setting can help avoid that. Of course, I have yet to implement the IW (InputWindow, used for rectangular clipping) command.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@399582 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/sandbox/org/apache/fop/render/pcl/PCLGraphics2DAdapter.java')
-rw-r--r-- | src/sandbox/org/apache/fop/render/pcl/PCLGraphics2DAdapter.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sandbox/org/apache/fop/render/pcl/PCLGraphics2DAdapter.java b/src/sandbox/org/apache/fop/render/pcl/PCLGraphics2DAdapter.java index 665eb6d6c..df9fb8589 100644 --- a/src/sandbox/org/apache/fop/render/pcl/PCLGraphics2DAdapter.java +++ b/src/sandbox/org/apache/fop/render/pcl/PCLGraphics2DAdapter.java @@ -74,6 +74,7 @@ public class PCLGraphics2DAdapter extends AbstractGraphics2DAdapter { PCLGraphics2D graphics = new PCLGraphics2D(tempGen); graphics.setGraphicContext(ctx); + graphics.setClippingDisabled(pclContext.isClippingDisabled()); Rectangle2D area = new Rectangle2D.Double(0.0, 0.0, imw, imh); painter.paint(graphics, area); |