Changeset 29206 in osm for applications/editors/josm/plugins/smed2/src/symbols
- Timestamp:
- 2013-01-20T11:51:05+01:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/smed2/src/symbols
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/symbols/Areas.java
r29204 r29206 44 44 public static final Symbol LineAnchor = new Symbol(); 45 45 static { 46 LineAnchor.add(new Instr(Prim.BBOX, new Rectangle(-30,-60,60,90))); 46 47 LineAnchor.add(new Instr(Prim.FILL, new Color(0xc480ff))); 47 48 LineAnchor.add(new Instr(Prim.SYMB, new Symbols.SubSymbol(Harbours.Anchor, 0.5, 0, 0, new Delta(Handle.CC, AffineTransform.getRotateInstance(Math.toRadians(-90.0))), null))); -
applications/editors/josm/plugins/smed2/src/symbols/Symbols.java
r29204 r29206 122 122 123 123 public static class SubSymbol { 124 Symbol instr;125 double scale;126 double x;127 double y;128 Delta delta;129 Scheme scheme;124 public Symbol instr; 125 public double scale; 126 public double x; 127 public double y; 128 public Delta delta; 129 public Scheme scheme; 130 130 131 131 public SubSymbol(Symbol iinstr, double iscale, double ix, double iy, Delta idelta, Scheme ischeme) { … … 295 295 dy = 0; 296 296 if (c.dd != null) { 297 g2.transform(c.dd.t);297 if (c.dd.t != null) g2.transform(c.dd.t); 298 298 switch (c.dd.h) { 299 299 case CC:
Note:
See TracChangeset
for help on using the changeset viewer.