vhardy      01/09/28 05:14:54

  Modified:    sources/org/apache/batik/ext/awt/g2d AbstractGraphics2D.java
  Log:
  Fixed bug #3376. See test case org.apache.batik.svggen.DrawImage in
  test-sources.
  
  Revision  Changes    Path
  1.5       +2 -2      
xml-batik/sources/org/apache/batik/ext/awt/g2d/AbstractGraphics2D.java
  
  Index: AbstractGraphics2D.java
  ===================================================================
  RCS file: 
/home/cvs/xml-batik/sources/org/apache/batik/ext/awt/g2d/AbstractGraphics2D.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractGraphics2D.java   2001/09/13 08:42:49     1.4
  +++ AbstractGraphics2D.java   2001/09/28 12:14:54     1.5
  @@ -33,7 +33,7 @@
    * are implemented by <tt>AbstractGraphics2D</tt>
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Vincent Hardy</a>
  - * @version $Id: AbstractGraphics2D.java,v 1.4 2001/09/13 08:42:49 tkormann Exp $
  + * @version $Id: AbstractGraphics2D.java,v 1.5 2001/09/28 12:14:54 vhardy Exp $
    * @see org.apache.batik.ext.awt.g2d.GraphicContext
    */
   public abstract class AbstractGraphics2D extends Graphics2D implements Cloneable {
  @@ -683,7 +683,7 @@
           gc.setPaint(bgcolor);
           fillRect(x, y, width, height);
           gc.setPaint(paint);
  -        drawImage(img, x, y, observer);
  +        drawImage(img, x, y, width, height, observer);
   
           return true;
       }
  
  
  

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

Reply via email to