private void drawLine(Graphics2D g2d, Line line) {

		g2d.setStroke(new BasicStroke((float) (1 / viewport.getScale())));

		g2d.drawLine((int) Math.round(line.getX1()),
				(int) Math.round(line.getY1()), (int) Math.round(line.getX2()),
				(int) Math.round(line.getY2()));

		g2d.setStroke(new BasicStroke());
	}