From 51e693924904d93916f7f662d864cae0fa1a9bf0 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Mon, 2 Jun 2003 20:21:28 +0000 Subject: [PATCH] Adjust to changes in Batik CVS git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196485 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/svg/PDFImageElementBridge.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/java/org/apache/fop/svg/PDFImageElementBridge.java b/src/java/org/apache/fop/svg/PDFImageElementBridge.java index b5222f657..5507dbe22 100644 --- a/src/java/org/apache/fop/svg/PDFImageElementBridge.java +++ b/src/java/org/apache/fop/svg/PDFImageElementBridge.java @@ -176,6 +176,18 @@ public class PDFImageElementBridge extends SVGImageElementBridge { } return null; } + + /** + * Returns the bounds of the sensitive area covered by this node, + * This includes the stroked area but does not include the effects + * of clipping, masking or filtering. + * @return the bounds of the sensitive area + */ + public Rectangle2D getSensitiveBounds() { + //No interactive features, just return primitive bounds + return getPrimitiveBounds(); + } + } } -- 2.39.5