From 273ecfddc1d46955f12e3a1a9392006a4b09ab17 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Thu, 27 Jul 2000 06:34:22 +0000 Subject: [PATCH] rounded edges for rect git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193563 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/svg/Rect.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/org/apache/fop/svg/Rect.java b/src/org/apache/fop/svg/Rect.java index 8eac583f0..ba2d09bcf 100644 --- a/src/org/apache/fop/svg/Rect.java +++ b/src/org/apache/fop/svg/Rect.java @@ -117,9 +117,13 @@ public class Rect extends FObj implements GraphicsCreator { 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()); -- 2.39.5