summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/svg/app/beans/SVGPanel.java
diff options
context:
space:
mode:
authorkitfox2013-06-08 17:58:48 +0200
committerkitfox2013-06-08 17:58:48 +0200
commit86ece1cb42537370a924c96591b8f76d6cac1d61 (patch)
tree07c7cf3e8bd54138a8ce46a3c9191887f939d2b5 /src/main/java/com/kitfox/svg/app/beans/SVGPanel.java
parentclip-path can now handle "none". (diff)
downloadsvg-salamander-core-86ece1cb42537370a924c96591b8f76d6cac1d61.tar.gz
svg-salamander-core-86ece1cb42537370a924c96591b8f76d6cac1d61.tar.xz
svg-salamander-core-86ece1cb42537370a924c96591b8f76d6cac1d61.zip
Tspan should now handle setting the x without the y also being specified.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@157 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
Diffstat (limited to 'src/main/java/com/kitfox/svg/app/beans/SVGPanel.java')
-rw-r--r--src/main/java/com/kitfox/svg/app/beans/SVGPanel.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main/java/com/kitfox/svg/app/beans/SVGPanel.java b/src/main/java/com/kitfox/svg/app/beans/SVGPanel.java
index e494867..5682b74 100644
--- a/src/main/java/com/kitfox/svg/app/beans/SVGPanel.java
+++ b/src/main/java/com/kitfox/svg/app/beans/SVGPanel.java
@@ -135,20 +135,6 @@ public class SVGPanel extends JPanel
Dimension dim = getSize();
final int width = dim.width;
final int height = dim.height;
-// int width = getWidth();
-// int height = getHeight();
-
-// if (width == 0 || height == 0)
-// {
-// //Chances are we're rendering offscreen
-// Dimension dim = getSize();
-// width = dim.width;
-// height = dim.height;
-// return;
-// }
-
-// g.setClip(0, 0, dim.width, dim.height);
-
final Rectangle2D.Double rect = new Rectangle2D.Double();
diagram.getViewRect(rect);