Line width with circular shape

Does anybony know how I can draw a thick line with a circular shape, instead of using glLineWidth?

I’m drawing maps and I was using Windows GDI, and it looked very pretty but slow, but now it’s very fast but doesn’t look so good. Mainly in connections.

thx, best regards,