Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about drawImage

 
zhong hb
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to update my program from jdk1.5 to jdk1.6.but Exception occur
when Graphics2D.drawImage(Image image,AffineTransform at,ImageObserver ios) called.

Cannot construct MaskBlit for XOR mod
at sun.java2d.loops.MaskBlit.makePrimitive(MaskBlit.java:110)
at sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:142)
at sun.java2d.loops.MaskBlit.locate(MaskBlit.java:43)
at sun.java2d.loops.MaskBlit.getFromCache(MaskBlit.java:56)
at sun.java2d.pipe.DrawImage.renderImageXform(DrawImage.java:428)
at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:199)
at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:1029)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3106)
at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:840)
at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:1037)
at sun.java2d.pipe.ValidatePipe.transformImage(ValidatePipe.java:212)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3106)


why??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic