diff options
author | Keiron Liddle <keiron@apache.org> | 2002-04-19 08:04:32 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-04-19 08:04:32 +0000 |
commit | 4d585be94025d510c1af7561aff9b8cef4072fdc (patch) | |
tree | 33e3da2adbb0aea3dda41b3d36547b19d3cf4168 | |
parent | 80c56fbdab2293a7d9d072e5fdf883507e041914 (diff) | |
download | xmlgraphics-fop-4d585be94025d510c1af7561aff9b8cef4072fdc.tar.gz xmlgraphics-fop-4d585be94025d510c1af7561aff9b8cef4072fdc.zip |
updated to the fluid batik api
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194737 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/org/apache/fop/svg/SVGElement.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/org/apache/fop/svg/SVGElement.java b/src/org/apache/fop/svg/SVGElement.java index 9a4d0579d..7f6373536 100644 --- a/src/org/apache/fop/svg/SVGElement.java +++ b/src/org/apache/fop/svg/SVGElement.java @@ -96,6 +96,18 @@ public class SVGElement extends SVGObj { public AffineTransform getCTM() { return new AffineTransform(); } + + public float getViewportWidth() { + return (float)view.getX(); + } + + public float getViewportHeight() { + return (float)view.getY(); + } + + public float getFontSize(){ + return 12; + } }; ((SVGOMElement)e).setSVGContext(dc); |