Hi,
Under certain conditions I find the following:
[code]
Area a, b;
(a.equals(b) b.equals(a)) != (a.isRectangular b.isRectangular())
[/code]
Is this a bug? Or am I missing something?
The following code demonstrates the problem:
[code]
import java.awt.Polygon;
import java.awt.Rectangle;
When you have access to the image's pixel data (which you can through a
BufferedImage) you could alter the pixel values like this to fade between two:
for(int i=0; iwidth; i++)
{
for(int j=0; jheight; j++)
{
int sc = sourceBuffer[i + j * width];
Hi,
I have a situation where I want to do a hybrid of vram image blits sysmem
image blits. The software image blits are just pixel arrays that get drawn into
a big array representing the screen (framebuffer). I use this for images I'd
like to do certain operations on only doable in software.
Hi,
I don't quite understand the question. Why couldn't you just
render all your images (the sysmem ones, which I assume are
BufferedImages) and the vram-based ones (VolatileImages or
cached BufferedImages?) to your back-buffer (which resides in
vram)?
Whatever order you draw them