harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r572861 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/CommonGraphics2D.java
Date Wed, 05 Sep 2007 02:30:17 GMT
Author: apetrenko
Date: Tue Sep  4 19:30:16 2007
New Revision: 572861

URL: http://svn.apache.org/viewvc?rev=572861&view=rev
Log:
Patch for HARMONY-4737 "[classlib][awt] The oval is drawn shifted when the line width is less
or equal to 1"

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/CommonGraphics2D.java

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/CommonGraphics2D.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/CommonGraphics2D.java?rev=572861&r1=572860&r2=572861&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/CommonGraphics2D.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/org/apache/harmony/awt/gl/CommonGraphics2D.java
Tue Sep  4 19:30:16 2007
@@ -558,7 +558,7 @@
                 (transform.isIdentity() || transform.getType() == AffineTransform.TYPE_TRANSLATION))
{
             Point p = new Point(x, y);
             transform.transform(p, p);
-            MultiRectArea mra = JavaArcRasterizer.rasterize(x, y, width, height, 0, 360,
clip);
+            MultiRectArea mra = JavaArcRasterizer.rasterize(p.x, p.y, width, height, 0, 360,
clip);
             fillMultiRectArea(mra);
             return;
         }



Mime
View raw message