aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/pcl/PCLRenderingContext.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/render/pcl/PCLRenderingContext.java')
-rw-r--r--src/java/org/apache/fop/render/pcl/PCLRenderingContext.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/pcl/PCLRenderingContext.java b/src/java/org/apache/fop/render/pcl/PCLRenderingContext.java
index 4c41cbf58..9212770fc 100644
--- a/src/java/org/apache/fop/render/pcl/PCLRenderingContext.java
+++ b/src/java/org/apache/fop/render/pcl/PCLRenderingContext.java
@@ -21,6 +21,7 @@ package org.apache.fop.render.pcl;
import java.awt.geom.Point2D;
+import org.apache.xmlgraphics.java2d.GraphicContext;
import org.apache.xmlgraphics.util.MimeConstants;
import org.apache.fop.apps.FOUserAgent;
@@ -93,4 +94,10 @@ public abstract class PCLRenderingContext extends AbstractRenderingContext {
*/
public abstract Point2D transformedPoint(int x, int y);
+ /**
+ * Returns the current {@code GraphicContext} instance.
+ * @return the graphic context
+ */
+ public abstract GraphicContext getGraphicContext();
+
}