From ea650dcab1f37ebb8e1581bfc62c31de59fa129c Mon Sep 17 00:00:00 2001 From: spjspj Date: Mon, 20 Nov 2017 00:36:54 +1100 Subject: [PATCH] Slightly better rendering. --- .../src/main/java/org/mage/card/arcane/CardRenderer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Mage.Client/src/main/java/org/mage/card/arcane/CardRenderer.java b/Mage.Client/src/main/java/org/mage/card/arcane/CardRenderer.java index 2c0f7cd44b..35ec4fc214 100644 --- a/Mage.Client/src/main/java/org/mage/card/arcane/CardRenderer.java +++ b/Mage.Client/src/main/java/org/mage/card/arcane/CardRenderer.java @@ -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,