Changeset 8444 in josm for trunk/src/org/openstreetmap/josm/data/validation/PaintVisitor.java
- Timestamp:
- 2015-06-02T16:41:37+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/PaintVisitor.java
r8380 r8444 162 162 int deg = (int) Math.toDegrees(t); 163 163 if (selected) { 164 int[] x = new int[] { 165 (int) (p2.x - cosT), (int) (p1.x - cosT)};166 int[] y = new int[] { 167 (int) (p2.y + sinT), (int) (p1.y + sinT)};164 int[] x = new int[] {(int) (p1.x + cosT), (int) (p2.x + cosT), 165 (int) (p2.x - cosT), (int) (p1.x - cosT)}; 166 int[] y = new int[] {(int) (p1.y - sinT), (int) (p2.y - sinT), 167 (int) (p2.y + sinT), (int) (p1.y + sinT)}; 168 168 g.fillPolygon(x, y, 4); 169 169 g.fillArc(p1.x - 5, p1.y - 5, 10, 10, deg, 180);
Note:
See TracChangeset
for help on using the changeset viewer.