keiron      02/04/19 01:04:32

  Modified:    src/org/apache/fop/svg SVGElement.java
  Log:
  updated to the fluid batik api
  
  Revision  Changes    Path
  1.23      +13 -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.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- SVGElement.java   21 Mar 2002 09:28:43 -0000      1.22
  +++ SVGElement.java   19 Apr 2002 08:04:32 -0000      1.23
  @@ -1,5 +1,5 @@
   /*
  - * $Id: SVGElement.java,v 1.22 2002/03/21 09:28:43 keiron Exp $
  + * $Id: SVGElement.java,v 1.23 2002/04/19 08:04:32 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.
  @@ -95,6 +95,18 @@
   
               public AffineTransform getCTM() {
                   return new AffineTransform();
  +            }
  +
  +            public float getViewportWidth() {
  +                return (float)view.getX();
  +            }
  +
  +            public float getViewportHeight() {
  +                return (float)view.getY();
  +            }
  +
  +            public float getFontSize(){
  +                return 12;
               }
           };
           ((SVGOMElement)e).setSVGContext(dc);
  
  
  

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

Reply via email to