Element seg = (Element) e.getChildNodes().item(j);
int x1 = Integer.parseInt(seg.getAttribute("x1"));
int y1 = 64 - Integer.parseInt(seg.getAttribute("y1"));
int x2 = Integer.parseInt(seg.getAttribute("x2"));
int y2 = 64 - Integer.parseInt(seg.getAttribute("y2"));
m_segments.get(id).add(new Segment2D(x1, y1, x2, y2));
}
}
}
}