Changeset 29185 in osm for applications/editors/josm/plugins/smed2/src/symbols/Topmarks.java
- Timestamp:
- 2013-01-10T00:56:38+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/symbols/Topmarks.java
r29126 r29185 13 13 import java.awt.Color; 14 14 import java.awt.Rectangle; 15 import java.awt.geom.AffineTransform; 15 16 import java.awt.geom.Ellipse2D; 16 17 import java.awt.geom.Line2D; 17 18 import java.awt.geom.Path2D; 18 19 import java.util.ArrayList; 19 20 import symbols.Symbols.Instr; 21 import symbols.Symbols.Prim; 20 import java.util.EnumMap; 21 22 import s57.S57val.*; 23 import symbols.Symbols.*; 22 24 23 25 public class Topmarks { … … 226 228 TopX.add(new Instr(Prim.PLIN, p)); 227 229 } 230 231 public static final EnumMap<BoySHP, Delta> Buoys = new EnumMap<BoySHP, Delta>(BoySHP.class); 232 static { 233 Buoys.put(BoySHP.BOY_PILR, new Delta(Handle.BC, new AffineTransform(0.948324, 0.317305, -0.3173047, 0.948324, 31.5, -95.0))); 234 Buoys.put(BoySHP.BOY_SPAR, new Delta(Handle.BC, new AffineTransform(0.948324, 0.317305, -0.3173047, 0.948324, 31.5, -95.0))); 235 Buoys.put(BoySHP.BOY_CAN, new Delta(Handle.BC, new AffineTransform(0.948324, 0.317305, -0.3173047, 0.948324, 12.7, -37.9))); 236 Buoys.put(BoySHP.BOY_CONE, new Delta(Handle.BC, new AffineTransform(0.948324, 0.317305, -0.3173047, 0.948324, 12.7, -37.9))); 237 Buoys.put(BoySHP.BOY_SPHR, new Delta(Handle.BC, new AffineTransform(0.948324, 0.317305, -0.3173047, 0.948324, 12.7, -37.9))); 238 Buoys.put(BoySHP.BOY_BARL, new Delta(Handle.BC, new AffineTransform(0.948324, 0.317305, -0.3173047, 0.948324, 12.7, -37.9))); 239 Buoys.put(BoySHP.BOY_SUPR, new Delta(Handle.BC, AffineTransform.getTranslateInstance(0.0, -42.0))); 240 Buoys.put(BoySHP.BOY_ICE, new Delta(Handle.BC, AffineTransform.getTranslateInstance(0.0, -25.0))); 241 } 242 public static final Delta Floats = new Delta(Handle.BC, AffineTransform.getTranslateInstance(0.0, -70.0)); 243 228 244 }
Note:
See TracChangeset
for help on using the changeset viewer.
