mirror of
https://github.com/correl/mage.git
synced 2025-04-02 11:25:59 -09: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…
Add table
Reference in a new issue