167 |
|
|
168 |
if (img instanceof GtkOffScreenImage) |
if (img instanceof GtkOffScreenImage) |
169 |
{ |
{ |
170 |
|
int width = img.getWidth (null); |
171 |
|
int height = img.getHeight (null); |
172 |
copyPixmap (img.getGraphics (), |
copyPixmap (img.getGraphics (), |
173 |
x, y, img.getWidth (null), img.getHeight (null)); |
x, y, width, height); |
174 |
|
|
175 |
|
// FIXME: need to differentiate between SOMEBITS and FRAMEBITS. |
176 |
|
if (observer != null) |
177 |
|
observer.imageUpdate (img, |
178 |
|
ImageObserver.FRAMEBITS, |
179 |
|
x, y, width, height); |
180 |
return true; |
return true; |
181 |
} |
} |
182 |
|
|