harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r559010 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/windows/WinGDIPGraphics2D.java
Date Tue, 24 Jul 2007 11:27:50 GMT
Author: apetrenko
Date: Tue Jul 24 04:27:47 2007
New Revision: 559010

URL: http://svn.apache.org/viewvc?view=rev&rev=559010
Log:
Outdated comment has been removed

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?view=diff&rev=559010&r1=559009&r2=559010
==============================================================================
--- 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 Jul 24 04:27:47 2007
@@ -274,31 +274,6 @@
 
     @Override
     public void drawString(String str, float x, float y) {
-//        XXX: GDITextRenderer provide faster text drawing,
-//             but there still conflict between GDI and GDI+ hdc usage.
-//             This problem is to be investigated.
-//        
-//        AffineTransform at = this.getTransform();
-//        AffineTransform fAT = this.getFont().getTransform();
-//        if (((at == null) || at.isIdentity() || 
-//             (at.getType() == AffineTransform.TYPE_TRANSLATION)) 
-//             && (fAT.isIdentity() || (fAT.getType() == AffineTransform.TYPE_TRANSLATION))){
-//
-//            // Set graphics hdc clip
-//            long hOldGDIRgn = 0;
-//            long gi = getGraphicsInfo();
-//
-//            if (clip != null && clip.rect[0] != 0 ){
-//                hOldGDIRgn = WinThemeGraphics.setGdiClip(gi, clip.rect, clip.rect[0]-1);
-//            } else {
-//                WinThemeGraphics.restoreGdiClip(gi, hOldGDIRgn);
-//            }
-//            gtr.drawString(this, str, (float)(x + fAT.getTranslateX()), (float)(y + fAT.getTranslateY()));
-//            
-//            // Restore graphics hdc clip
-//            WinThemeGraphics.restoreGdiClip(gi, hOldGDIRgn);
-//            return;
-//        }    
         jtr.drawString(this, str, x, y);
     }
 



Mime
View raw message