- Timestamp:
- 2017-04-22T14:29:38+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/imagery/ReprojectionTile.java
r11971 r11972 100 100 * @param imageIn tile image to reproject 101 101 */ 102 p ublicvoid transform(BufferedImage imageIn) {102 protected void transform(BufferedImage imageIn) { 103 103 if (!Main.isDisplayingMapView()) { 104 104 reset(); -
trunk/src/org/openstreetmap/josm/tools/ImageWarp.java
r11971 r11972 134 134 * Simplest possible method. Faster, but not very good quality. 135 135 */ 136 NEAREST_NEIGHBOR(1), 136 NEAREST_NEIGHBOR, 137 137 138 /** 138 139 * Bilinear. … … 140 141 * Decent quality. 141 142 */ 142 BILINEAR(2); 143 144 private final int margin; 145 146 private Interpolation(int margin) { 147 this.margin = margin; 148 } 149 150 /** 151 * Number of pixels to scan outside the source image. 152 * Used to get smoother borders. 153 * @return the margin 154 */ 155 public int getMargin() { 156 return margin; 157 } 143 BILINEAR; 158 144 } 159 145
Note:
See TracChangeset
for help on using the changeset viewer.