From 33816d87daea31f1eaecbfa82b637996882f74f9 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 10 Nov 2000 00:51:17 +0000 Subject: [PATCH] stores all the pattern info git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193758 13f79535-47bb-0310-9956-ffa450edef68 --- .../fop/dom/svg/SVGPatternElementImpl.java | 32 ++++++++++++++----- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/src/org/apache/fop/dom/svg/SVGPatternElementImpl.java b/src/org/apache/fop/dom/svg/SVGPatternElementImpl.java index 1a5e16a70..446482206 100644 --- a/src/org/apache/fop/dom/svg/SVGPatternElementImpl.java +++ b/src/org/apache/fop/dom/svg/SVGPatternElementImpl.java @@ -57,79 +57,95 @@ import org.w3c.dom.svg.*; * */ public class SVGPatternElementImpl extends SVGURIReferenceImpl implements SVGPatternElement { + SVGAnimatedEnumeration patternUnits; + SVGAnimatedTransformList patternTransform; + SVGAnimatedLength x; + SVGAnimatedLength y; + SVGAnimatedLength width; + SVGAnimatedLength height; + SVGAnimatedRect viewBox; + SVGAnimatedPreserveAspectRatio preserveAspectRatio; public SVGPatternElementImpl() { } public SVGAnimatedEnumeration getPatternUnits( ) { - return null; + return patternUnits; } public void setPatternUnits( SVGAnimatedEnumeration patternUnits ) { + this.patternUnits = patternUnits; } public SVGAnimatedTransformList getPatternTransform( ) { - return null; + return patternTransform; } public void setPatternTransform( SVGAnimatedTransformList patternTransform ) { + this.patternTransform = patternTransform; } public SVGAnimatedLength getX( ) { - return null; + return x; } public void setX( SVGAnimatedLength x ) { + this.x = x; } public SVGAnimatedLength getY( ) { - return null; + return y; } public void setY( SVGAnimatedLength y ) { + this.y = y; } public SVGAnimatedLength getWidth( ) { - return null; + return width; } public void setWidth( SVGAnimatedLength width ) { + this.width = width; } public SVGAnimatedLength getHeight( ) { - return null; + return height; } public void setHeight( SVGAnimatedLength height ) { + this.height = height; } public SVGAnimatedRect getViewBox( ) { - return null; + return viewBox; } public void setViewBox( SVGAnimatedRect viewBox ) { + this.viewBox = viewBox; } public SVGAnimatedPreserveAspectRatio getPreserveAspectRatio( ) { - return null; + return preserveAspectRatio; } public void setPreserveAspectRatio( SVGAnimatedPreserveAspectRatio preserveAspectRatio) { + this.preserveAspectRatio = preserveAspectRatio; } } -- 2.39.5