mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
commit
184847b23d
1 changed files with 4 additions and 0 deletions
|
@ -327,6 +327,10 @@ public abstract class CardRenderer {
|
|||
= faceArtImage.getSubimage(
|
||||
(int) (artRect.getX() * fullCardImgWidth), (int) (artRect.getY() * fullCardImgHeight),
|
||||
(int) artWidth, (int) artHeight);*/
|
||||
RenderingHints rh = new RenderingHints(
|
||||
RenderingHints.KEY_INTERPOLATION,
|
||||
RenderingHints.VALUE_INTERPOLATION_BICUBIC);
|
||||
g.setRenderingHints(rh);
|
||||
g.drawImage(faceArtImage,
|
||||
x, y,
|
||||
(int) targetWidth, (int) targetHeight,
|
||||
|
|
Loading…
Reference in a new issue