201 |
initState(width, height); |
initState(width, height); |
202 |
|
|
203 |
setColor(Color.black); |
setColor(Color.black); |
204 |
setBackground(Color.black); |
setBackground(new Color(0, 0, 0, 0)); |
205 |
setPaint(getColor()); |
setPaint(getColor()); |
206 |
setFont(new Font("SansSerif", Font.PLAIN, 12)); |
setFont(new Font("SansSerif", Font.PLAIN, 12)); |
207 |
setTransform(new AffineTransform()); |
setTransform(new AffineTransform()); |
255 |
initState(this.pixelBuffer, bimage.getWidth(), bimage.getHeight()); |
initState(this.pixelBuffer, bimage.getWidth(), bimage.getHeight()); |
256 |
|
|
257 |
setColor(Color.black); |
setColor(Color.black); |
258 |
setBackground(Color.black); |
setBackground(new Color(0, 0, 0, 0)); |
259 |
setPaint(getColor()); |
setPaint(getColor()); |
260 |
setFont(new Font("SansSerif", Font.PLAIN, 12)); |
setFont(new Font("SansSerif", Font.PLAIN, 12)); |
261 |
setTransform(new AffineTransform()); |
setTransform(new AffineTransform()); |
545 |
// draw an image which has actually been loaded |
// draw an image which has actually been loaded |
546 |
// into memory fully |
// into memory fully |
547 |
BufferedImage b = (BufferedImage) img; |
BufferedImage b = (BufferedImage) img; |
548 |
return drawRaster(b.getColorModel(), b.getData(), |
return drawRaster(b.getColorModel(), b.getTile(0, 0), |
549 |
invertedXform, bgcolor); |
invertedXform, bgcolor); |
550 |
} |
} |
551 |
else |
else |