harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r598647 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGDIPGraphics2D.java
Date Tue, 27 Nov 2007 14:03:11 GMT
Author: apetrenko
Date: Tue Nov 27 06:03:09 2007
New Revision: 598647

URL: http://svn.apache.org/viewvc?rev=598647&view=rev
Log:
Patch for HARMONY-5178 "[classlib][awt][EIOffice] Clipping problems in 
dialog with several tabs"
Fix of regression from HARMONY-4772 patch

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

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGDIPGraphics2D.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGDIPGraphics2D.java?rev=598647&r1=598646&r2=598647&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGDIPGraphics2D.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGDIPGraphics2D.java
Tue Nov 27 06:03:09 2007
@@ -370,9 +370,7 @@
     @Override
     public void fill(Shape s) {
         if (!nativeBrush || composite != AlphaComposite.SrcOver) {
-            s = transform.createTransformedShape(s);
-            MultiRectArea mra = jsr.rasterize(s, 0.5);
-            super.fillMultiRectAreaPaint(mra);
+            super.fill(s);
             return;
         }
 
@@ -384,9 +382,7 @@
     @Override
     public void fillRect(int x, int y, int width, int height) {
         if (!nativeBrush || composite != AlphaComposite.SrcOver) {
-            Shape s = transform.createTransformedShape(new Rectangle(x, y, width, height));
-            MultiRectArea mra = jsr.rasterize(s, 0.5);
-            super.fillMultiRectAreaPaint(mra);
+            super.fillRect(x, y, width, height);
             return;
         }
 



Mime
View raw message