keiron      2002/06/10 01:53:41

  Modified:    src/org/apache/fop/svg SVGElement.java SVGUserAgent.java
  Log:
  api change
  
  Revision  Changes    Path
  1.25      +7 -1      xml-fop/src/org/apache/fop/svg/SVGElement.java
  
  Index: SVGElement.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/SVGElement.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- SVGElement.java   26 Apr 2002 09:40:58 -0000      1.24
  +++ SVGElement.java   10 Jun 2002 08:53:41 -0000      1.25
  @@ -1,5 +1,5 @@
   /*
  - * $Id: SVGElement.java,v 1.24 2002/04/26 09:40:58 keiron Exp $
  + * $Id: SVGElement.java,v 1.25 2002/06/10 08:53:41 keiron Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -88,6 +88,9 @@
               public float getPixelToMM() {
                   return ptmm;
               }
  +            public float getPixelUnitToMillimeter() {
  +                return ptmm;
  +            }
   
               public Rectangle2D getBBox() {
                   return new Rectangle2D.Double(0, 0, view.getX(), view.getY());
  @@ -188,6 +191,9 @@
            * Returns the pixel to mm factor.
            */
           public float getPixelToMM() {
  +            return pixeltoMM;
  +        }
  +        public float getPixelUnitToMillimeter() {
               return pixeltoMM;
           }
   
  
  
  
  1.10      +5 -1      xml-fop/src/org/apache/fop/svg/SVGUserAgent.java
  
  Index: SVGUserAgent.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/svg/SVGUserAgent.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- SVGUserAgent.java 11 Apr 2002 09:33:31 -0000      1.9
  +++ SVGUserAgent.java 10 Jun 2002 08:53:41 -0000      1.10
  @@ -1,5 +1,5 @@
   /*
  - * $Id: SVGUserAgent.java,v 1.9 2002/04/11 09:33:31 keiron Exp $
  + * $Id: SVGUserAgent.java,v 1.10 2002/06/10 08:53:41 keiron Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -80,6 +80,10 @@
        * Returns a customized the pixel to mm factor.
        */
       public float getPixelToMM() {
  +        return userAgent.getPixelToMM();
  +    }
  +
  +    public float getPixelUnitToMillimter() {
           return userAgent.getPixelToMM();
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to