dcsimg
Mac drawImage fails to XOR in offscreen image buffer
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Andre_TheMunchkin
Posted On:   Tuesday, March 5, 2002 01:27 PM

In the following example, I find that
Mac VMs tend to ignore the XOR mode and
cover the existing image in offScreenBufImage
entirely. Work arounds anywone?

 


// applet

//Image offScreenBufImage = createImage(wid,ht);

//Image img = getImage( getCodeBase,"some.gif" );

Graphics g = offScreenBufImage.getGraphics();

g.setXORMode(Color.white);

g.drawImage(img,0,0,null);
About | Sitemap | Contact