[4872] in java-interest
Re: More on the transparency issue
daemon@ATHENA.MIT.EDU (Edd Dumbill)
Wed Jan 17 06:58:08 1996
Date: Wed, 17 Jan 1996 10:25:15 +0000 (GMT)
From: Edd Dumbill <edmundd@compnews.co.uk>
To: Jim Graham <flar@bendenweyr.Eng.Sun.COM>
Cc: java-interest@java.Eng.Sun.COM
In-Reply-To: <9601162142.AA10746@bendenweyr.Eng.Sun.COM>
On Tue, 16 Jan 1996, Jim Graham wrote:
> > If it cannot be done, I consider this a serious ommission in Java's
> > image handling - one cannot use GIFs for everything.
>
> You need to use an ImageFilter for the general case. In the example
> you give, though, where all you are doing is using an image to hold
> some text, why don't you just render the text on top of the first
> image using drawString() instead of rendering it into an offscreen
> image and then trying to apply it using drawImage()?
Because the text needs to scroll when it reaches the bottom of the
image; so the whole bitmap is blitted upwards and a plain background
drawn where the new line will be.
I realise that I could do this by keeping all the text in an array and
redrawing it all each time, I would just have rather not have to have
done.
Thanks for your detailed reply though!
> ...jim
Edd.
Edd Dumbill - an Internet Software Engineer - what's your brew?
Java - CGI - HTML3.0 - mailto:edd@hway.net - http://www.hway.net/edd
and i like the way you're broken and i'll like you when you're old
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com