You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Vincent Hardy <vh...@eng.sun.com> on 2001/04/28 00:21:20 UTC

More on Re: npe with coerceColorModel

Keiron,

Have you started working on the PDGGraphics2D again?
V.

Keiron Liddle wrote:
> 
> I just noticed a bug in the code that does "coerceColorModel"
> 
> If you look at line 181 in org.apache.batik.ext.awt.image.GraphicsUtil
> it occurs when g2dCM is null which means that drawCM must also be null.
> 
> Then when it calls the coerceColorModel at line 960 it tries to call a
> method on the (passed in) drawCM.
> This results in a guaranteed null pointer exception.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Re: More on Re: npe with coerceColorModel

Posted by Keiron Liddle <ke...@aftexsw.com>.
On Sat, 28 Apr 2001 00:21:20 Vincent Hardy wrote:
> Keiron,
> 
> Have you started working on the PDGGraphics2D again?
> V.
> 

Yes.
I have made some progress.

I've managed to get the drawImage to work apart from a problem with it not
handling transparency.
With shapes I need to handle stroke style etc.



---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org