bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/29372] Broken textures


From: fkung at redhat dot com
Subject: [Bug swing/29372] Broken textures
Date: 10 Oct 2006 15:59:50 -0000


------- Comment #5 from fkung at redhat dot com  2006-10-10 15:59 -------
I've tracked this down to a change in CairoGraphics2D I committed on Oct 2:

   public void fillRect(int x, int y, int width, int height)
   {
-    cairoFillRect(nativePointer, x, y, width, height);
+    fill(new Rectangle(x, y, width, height));
+    // TODO: If we want to use the more efficient
+    //cairoFillRect(nativePointer, x, y, width, height);
+    // we need to override this method in subclasses
   }

This was necessary because the direct call to cairoFillRect was bypassing some
context-specific stuff (ie, the updateBufferedImage() call in
BufferedImageGraphics).

I'll look into it a bit more, I've got some other stuff I'm working on in this
area.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29372





reply via email to

[Prev in Thread] Current Thread [Next in Thread]