Changeset 17012 in josm


Ignore:
Timestamp:
2020-09-06T16:54:35+02:00 (2 weeks ago)
Author:
simon04
Message:

fix #19705 - StyledMapRenderer.drawIcon: bicubic interpolation

Reference: former ImageProvider.createRotatedImage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java

    r16922 r17012  
    849849        int drawX = -img.getWidth() / 2 + img.offsetX;
    850850        int drawY = -img.getHeight() / 2 + img.offsetY;
     851        temporaryGraphics.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC);
    851852        temporaryGraphics.drawImage(img.getImage(disabled), drawX, drawY, nc);
    852853        if (selected || member) {
Note: See TracChangeset for help on using the changeset viewer.