Changeset 30022 in osm for applications/editors/josm/plugins/smed2/src/seamap/Renderer.java
- Timestamp:
- 2013-10-13T19:17:33+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/seamap/Renderer.java
r30020 r30022 143 143 } 144 144 145 public static void lineSymbols(Feature feature, Symbol prisymb, double space, Symbol secsymb, int ratio ) {145 public static void lineSymbols(Feature feature, Symbol prisymb, double space, Symbol secsymb, int ratio, Color col) { 146 146 Area area; 147 147 switch (feature.flag) { … … 207 207 } 208 208 if (!gap) { 209 Symbols.drawSymbol(g2, symbol, sScale, curr.getX(), curr.getY(), new Delta(Handle.BC, AffineTransform.getRotateInstance(Math.atan2((succ.getY() - curr.getY()), (succ.getX() - curr.getX())) + Math.toRadians(90))), null); 209 Symbols.drawSymbol(g2, symbol, sScale, curr.getX(), curr.getY(), 210 new Delta(Handle.BC, AffineTransform.getRotateInstance(Math.atan2((succ.getY() - curr.getY()), (succ.getX() - curr.getX())) + Math.toRadians(90))), 211 new Scheme(col)); 210 212 } 211 213 if (space > 0)
Note:
See TracChangeset
for help on using the changeset viewer.