You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@locus.apache.org on 2000/07/27 08:34:22 UTC
cvs commit: xml-fop/src/org/apache/fop/svg Rect.java
keiron 00/07/26 23:34:22
Modified: src/org/apache/fop/svg Rect.java
Log:
rounded edges for rect
Revision Changes Path
1.10 +5 -1 xml-fop/src/org/apache/fop/svg/Rect.java
Index: Rect.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/Rect.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Rect.java 2000/07/18 05:37:10 1.9
+++ Rect.java 2000/07/27 06:34:22 1.10
@@ -1,4 +1,4 @@
-/*-- $Id: Rect.java,v 1.9 2000/07/18 05:37:10 keiron Exp $ --
+/*-- $Id: Rect.java,v 1.10 2000/07/27 06:34:22 keiron Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -117,9 +117,13 @@
SVGLength height = ((SVGLengthProperty)this.properties.get("height")).getSVGLength();
SVGLength x = ((SVGLengthProperty)this.properties.get("x")).getSVGLength();
SVGLength y = ((SVGLengthProperty)this.properties.get("y")).getSVGLength();
+ SVGLength rx = ((SVGLengthProperty)this.properties.get("rx")).getSVGLength();
+ SVGLength ry = ((SVGLengthProperty)this.properties.get("ry")).getSVGLength();
SVGRectElementImpl graph = new SVGRectElementImpl();
graph.setX(new SVGAnimatedLengthImpl(x));
graph.setY(new SVGAnimatedLengthImpl(y));
+ graph.setRx(new SVGAnimatedLengthImpl(rx));
+ graph.setRy(new SVGAnimatedLengthImpl(ry));
graph.setWidth(new SVGAnimatedLengthImpl(width));
graph.setHeight(new SVGAnimatedLengthImpl(height));
graph.setStyle(((SVGStyle)this.properties.get("style")).getStyle());