Drawing simple lines and changing line width

Hi,

gl::lineWidth was deprecated because it was deprecated in OpenGL. Most GPU drivers no longer support it. Instead, you can draw a (rotated) rectangle if you want thick lines. For thick curved lines, you will have to do the math and create a mesh, as explained in the link provided by @lithium. Or this post.

~Paul