You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by vh...@apache.org on 2001/09/28 14:14:54 UTC

cvs commit: xml-batik/sources/org/apache/batik/ext/awt/g2d AbstractGraphics2D.java

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:vincent.hardy@eng.sun.com">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: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org