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/08/10 08:50:36 UTC

cvs commit: xml-fop/src/org/apache/fop/dom/svg SVGArea.java

keiron      00/08/09 23:50:36

  Modified:    src/org/apache/fop/dom/svg SVGArea.java
  Log:
  added getWidth
  
  Revision  Changes    Path
  1.5       +6 -1      xml-fop/src/org/apache/fop/dom/svg/SVGArea.java
  
  Index: SVGArea.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/dom/svg/SVGArea.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SVGArea.java	2000/07/18 05:39:44	1.4
  +++ SVGArea.java	2000/08/10 06:50:36	1.5
  @@ -1,4 +1,4 @@
  -/*-- $Id: SVGArea.java,v 1.4 2000/07/18 05:39:44 keiron Exp $ -- 
  +/*-- $Id: SVGArea.java,v 1.5 2000/08/10 06:50:36 keiron Exp $ -- 
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -84,6 +84,11 @@
   		currentHeight = (int)height * 1000;
   		contentRectangleWidth = (int)width * 1000;
   	}
  +
  +    public int getWidth()
  +    {
  +        return contentRectangleWidth;
  +    }
   
   	/**
   	 * add a graphic.