Back to smooth algorithm
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
bb52b2737d
commit
e21a814abf
BIN
bin/SigShare.jar
BIN
bin/SigShare.jar
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 78 KiB |
Binary file not shown.
Before Width: | Height: | Size: 40 KiB |
@ -107,7 +107,7 @@ public class Panel extends JPanel implements Runnable {
|
|||||||
// ask ImageProducer to update image
|
// ask ImageProducer to update image
|
||||||
mImageProducer.newPixels();
|
mImageProducer.newPixels();
|
||||||
// draw it on panel
|
// draw it on panel
|
||||||
Image f = this.imageBuffer.getScaledInstance(getWidth(), getHeight(), Image.SCALE_FAST);
|
Image f = this.imageBuffer.getScaledInstance(getWidth(), getHeight(), Image.SCALE_SMOOTH);
|
||||||
g.drawImage(f, 0, 0, this);
|
g.drawImage(f, 0, 0, this);
|
||||||
f.flush();
|
f.flush();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user