Good looking lines

Is there any possibility to draw good looking lines (anti-aliased, round or bevelled edges for a line width greater than one) in OpenGL? I want to use as much hardware acceleration as possible.

Thanks in advance.

Look at Javac topic below.

Erm, can’t see how this is an answer so my question. How can I achieve a good looking line cap with anti-aliasing with a line width greater than 1? My OpenGL implementation always cuts of the end of a line horizontally or vertically instead of perpendicular to the line direction. What I want to achieve is a line cap looking like this:

----###---------
–#######-------
----#######-----
------#######—
--------#######-

insead of this:

#######---------
–#######-------
----#######-----
------#######—
--------#######-

with an arbitrary line width. Is it possible? Since my driver cuts it off as described above, I don’t think there is something in the OpenGL specification about it, is it?