- Timestamp:
- 2017-04-22T02:10:14+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/ComputeStyleListWorker.java
r11970 r11971 30 30 31 31 /** 32 * Helper to c umpute style list.32 * Helper to compute style list. 33 33 * @since 11914 (extracted from StyledMapRenderer) 34 34 */ … … 85 85 } 86 86 87 /** 88 * Compute directly (without using fork/join) the style list. Only called for small input. 89 * @return list of computed style records 90 */ 87 91 public List<StyleRecord> computeDirectly() { 88 92 MapCSSStyleSource.STYLE_SOURCE_LOCK.readLock().lock(); … … 129 133 } 130 134 135 /** 136 * Add new style records for the given node. 137 * @param osm node 138 * @param flags flags 139 */ 131 140 public void add(Node osm, int flags) { 132 141 StyleElementList sl = styles.get(osm, circum, nc); … … 136 145 } 137 146 147 /** 148 * Add new style records for the given way. 149 * @param osm way 150 * @param flags flags 151 */ 152 public void add(Way osm, int flags) { 153 StyleElementList sl = styles.get(osm, circum, nc); 154 for (StyleElement s : sl) { 155 if ((drawArea && (flags & StyledMapRenderer.FLAG_DISABLED) == 0) || !(s instanceof AreaElement)) { 156 output.add(new StyleRecord(s, osm, flags)); 157 } 158 } 159 } 160 161 /** 162 * Add new style records for the given relation. 163 * @param osm relation 164 * @param flags flags 165 */ 138 166 public void add(Relation osm, int flags) { 139 167 StyleElementList sl = styles.get(osm, circum, nc); … … 151 179 && (flags & StyledMapRenderer.FLAG_DISABLED) == 0; 152 180 } 153 154 public void add(Way osm, int flags) {155 StyleElementList sl = styles.get(osm, circum, nc);156 for (StyleElement s : sl) {157 if ((drawArea && (flags & StyledMapRenderer.FLAG_DISABLED) == 0) || !(s instanceof AreaElement)) {158 output.add(new StyleRecord(s, osm, flags));159 }160 }161 }162 181 } -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/Offset.java
r11914 r11971 11 11 import org.openstreetmap.josm.tools.Pair; 12 12 13 /** 14 * Time offset of GPX correlation. 15 * @since 11914 (extracted from {@link CorrelateGpxWithImages}) 16 */ 13 17 public final class Offset { 14 18 -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/Timezone.java
r11914 r11971 7 7 import java.util.Objects; 8 8 9 /** 10 * Timezone in hours.<p> 11 * TODO: should probably be replaced by {@link java.util.TimeZone}. 12 * @since 11914 (extracted from {@link CorrelateGpxWithImages}) 13 */ 9 14 public final class Timezone { 10 15 … … 16 21 } 17 22 23 /** 24 * Returns the timezone in hours. 25 * @return the timezone in hours 26 */ 18 27 public double getHours() { 19 28 return timezone; -
trunk/src/org/openstreetmap/josm/gui/layer/imagery/ReprojectionTile.java
r11954 r11971 96 96 } 97 97 98 /** 99 * Transforms the given image. 100 * @param imageIn tile image to reproject 101 */ 98 102 public void transform(BufferedImage imageIn) { 99 103 if (!Main.isDisplayingMapView()) { -
trunk/src/org/openstreetmap/josm/tools/ImageWarp.java
r11954 r11971 25 25 */ 26 26 public interface PointTransform { 27 /** 28 * Translates pixel coordinates. 29 * @param pt pixel coordinates 30 * @return transformed pixel coordinates 31 */ 27 32 Point2D transform(Point2D pt); 28 33 }
Note:
See TracChangeset
for help on using the changeset viewer.