# Drawing simple lines and changing line width

**URL:** <https://discourse.libcinder.org/t/drawing-simple-lines-and-changing-line-width/1703>\
**Category:** Using Cinder\
**Created:** [September 10, 2020, 5:28am UTC](https://discourse.libcinder.org/t/drawing-simple-lines-and-changing-line-width/1703 "2020-09-10T05:28:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![paul.houx](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/paul.houx/32/31_2.png) [@paul.houx](https://discourse.libcinder.org/u/paul.houx)\
**Post date:** [September 10, 2020, 8:43am UTC](https://discourse.libcinder.org/t/drawing-simple-lines-and-changing-line-width/1703/3 "2020-09-10T08:43:46Z")

</div>

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](https://discourse.libcinder.org/t/smooth-efficient-perfect-curves/925).

~Paul

---

_[View the full topic](https://discourse.libcinder.org/t/drawing-simple-lines-and-changing-line-width/1703)._
