Hi,

 

I've purchased the "Java 2D Graphics" book and It seems like really good book, but the demo (demoTwo) of using the GLF, which is the key feature of the book fails. I've downloaded & compiled the last GLF.

The exception:

 

java.lang.Error: Incompatible sizes or origin for src and dstIn rasters

        at com.sun.glf.goodies.ColorCompositeContext.compose(ColorCompositeContext.java:135)

        at sun.java2d.pipe.GeneralCompositePipe.renderPathTile(Unknown Source)

        at sun.java2d.pipe.DuctusShapeRenderer.renderPath(Unknown Source)

        at sun.java2d.pipe.DuctusShapeRenderer.draw(Unknown Source)

        at sun.java2d.pipe.ValidatePipe.draw(Unknown Source)

        at sun.java2d.SunGraphics2D.draw(Unknown Source)

        at com.sun.glf.StrokeRenderer.render(StrokeRenderer.java:110)

        at com.sun.glf.ShapeLayer.paint(ShapeLayer.java:124)

        at com.sun.glf.LayerComposition.paint(LayerComposition.java:346)

        at com.sun.glf.util.CompositionComponent.prepareOffscreen(CompositionCom

ponent.java:215)

        at com.sun.glf.util.CompositionFrame.setComposition(CompositionFrame.jav

a:328)

        at com.sun.glf.util.CompositionFrame$CompositionLoadThread.run(Compositi

onFrame.java:390)

 

Any help will be very helpful.

 

Cheers,

Dmitry.

 

 

--------------------

Creo

Dmitry Shultz | Software Developer

Tel: +1.604.451.2700 ext: 5443 | [EMAIL PROTECTED] | http://www.creo.com

IMAGINE CREATE BELIEVE(tm)

 

 

--------------------

Creo

Dmitry Shultz | Software Developer

Tel: +1.604.451.2700 ext: 5443 | [EMAIL PROTECTED] | http://www.creo.com

IMAGINE CREATE BELIEVE(tm)

 

=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to