147 |
int height = img.getHeight (null); |
int height = img.getHeight (null); |
148 |
copyPixmap (img.getGraphics (), |
copyPixmap (img.getGraphics (), |
149 |
x, y, width, height); |
x, y, width, height); |
|
// FIXME: need to differentiate between SOMEBITS and FRAMEBITS. |
|
|
if (observer != null) |
|
|
observer.imageUpdate (img, |
|
|
ImageObserver.FRAMEBITS, |
|
|
x, y, width, height); |
|
150 |
return true; |
return true; |
151 |
} |
} |
152 |
|
|
166 |
int height = img.getHeight (null); |
int height = img.getHeight (null); |
167 |
copyPixmap (img.getGraphics (), |
copyPixmap (img.getGraphics (), |
168 |
x, y, width, height); |
x, y, width, height); |
|
|
|
|
// FIXME: need to differentiate between SOMEBITS and FRAMEBITS. |
|
|
if (observer != null) |
|
|
observer.imageUpdate (img, |
|
|
ImageObserver.FRAMEBITS, |
|
|
x, y, width, height); |
|
169 |
return true; |
return true; |
170 |
} |
} |
171 |
|
|
186 |
copyAndScalePixmap (img.getGraphics (), false, false, |
copyAndScalePixmap (img.getGraphics (), false, false, |
187 |
0, 0, img.getWidth (null), img.getHeight (null), |
0, 0, img.getWidth (null), img.getHeight (null), |
188 |
x, y, width, height); |
x, y, width, height); |
|
// FIXME: need to differentiate between SOMEBITS and FRAMEBITS. |
|
|
if (observer != null) |
|
|
observer.imageUpdate (img, |
|
|
ImageObserver.FRAMEBITS, |
|
|
x, y, width, height); |
|
189 |
return true; |
return true; |
190 |
} |
} |
191 |
|
|
270 |
copyAndScalePixmap (img.getGraphics (), x_flip, y_flip, |
copyAndScalePixmap (img.getGraphics (), x_flip, y_flip, |
271 |
sx_start, sy_start, s_width, s_height, |
sx_start, sy_start, s_width, s_height, |
272 |
dx_start, dy_start, d_width, d_height); |
dx_start, dy_start, d_width, d_height); |
|
|
|
|
// FIXME: need to differentiate between SOMEBITS and FRAMEBITS. |
|
|
if (observer != null) |
|
|
observer.imageUpdate (img, |
|
|
ImageObserver.FRAMEBITS, |
|
|
dx_start, dy_start, d_width, d_height); |
|
273 |
return true; |
return true; |
274 |
} |
} |
275 |
|
|