Re: Erasing a line



On Sat, 17 May 2008 00:43:42 +0000, Kenneth P. Turvey wrote:

On Sat, 17 May 2008 00:43:42 +0000, I wrote:

I just had a guess occur to me. Maybe at some point the image is being
copied to a BufferedImage with only BIT_MASK transparency. Would that
result in the behavior I've described? That is no anti-aliasing in the
transparent region, but perfect anti-aliasing outside it?

Problem solved. This was it. I did a search through the code for
Tranparency and found a Transparency.BITMASK in a super class. So when I
called this code, the transparency was flattened to either a 0 or a 1.
The anti-aliasing over the non-transparent areas was still OK, but where
there was transparency it was destroyed.

Thanks for looking at this for me.



--
Kenneth P. Turvey <kt-usenet@xxxxxxxxxxxxxxxxxx>
.