From: Jeremias Maerki Date: Mon, 2 Jun 2003 20:21:28 +0000 (+0000) Subject: Adjust to changes in Batik CVS X-Git-Tag: Root_Temp_KnuthStylePageBreaking~1427 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=51e693924904d93916f7f662d864cae0fa1a9bf0;p=xmlgraphics-fop.git Adjust to changes in Batik CVS git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196485 13f79535-47bb-0310-9956-ffa450edef68 --- 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(); + } + } }