# Setting "Line Width" below 1?

**URL:** https://discourse.paraview.org/t/setting-line-width-below-1/5475
**Category:** ParaView Support
**Created:** [October 2, 2020, 7:46am UTC](https://discourse.paraview.org/t/setting-line-width-below-1/5475 "2020-10-02T07:46:37Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![AhmedSalih3d](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ahmedsalih3d/32/14109_2.png) [@AhmedSalih3d](https://discourse.paraview.org/u/AhmedSalih3d)
#### Post date: [October 2, 2020, 7:46am UTC](https://discourse.paraview.org/t/setting-line-width-below-1/5475/1 "2020-10-02T07:46:37Z")

</div>

Hello!

I can increase line width as I want, but if I try to set it below 1, it does not decrease? Is there anyway to force it to decrease.

Kind regards

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [October 2, 2020, 6:26pm UTC](https://discourse.paraview.org/t/setting-line-width-below-1/5475/2 "2020-10-02T18:26:25Z")

</div>

Nope, that is not supported.

---

<div class="post-metadata">

### Author: ![AhmedSalih3d](https://discourse.paraview.org/user_avatar/discourse.paraview.org/ahmedsalih3d/32/14109_2.png) [@AhmedSalih3d](https://discourse.paraview.org/u/AhmedSalih3d)
#### Post date: [October 2, 2020, 10:56pm UTC](https://discourse.paraview.org/t/setting-line-width-below-1/5475/3 "2020-10-02T22:56:54Z")

</div>

Out of curiosity, is there a reason one cannot scale it “indefinitely”? Perhaps the rendering pipe line?

Kind regards

---

<div class="post-metadata">

### Author: ![dmreagan](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dmreagan/32/12030_2.png) [@dmreagan](https://discourse.paraview.org/u/dmreagan)
#### Post date: [October 5, 2020, 3:50pm UTC](https://discourse.paraview.org/t/setting-line-width-below-1/5475/4 "2020-10-05T15:50:21Z")

</div>

My guess is that OpenGL doesn’t support line widths less than 1 pixel. The [docs](https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glLineWidth.xhtml) say:

> GL\_INVALID\_VALUE is generated if width is less than or equal to 0.

It also says, without antialiasing:

> If the rounding results in the value 0, it is as if the line width were 1.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [October 5, 2020, 4:40pm UTC](https://discourse.paraview.org/t/setting-line-width-below-1/5475/5 "2020-10-05T16:40:15Z")

</div>

To go smaller than width 1, we would need ParaView to enable multisample anti-aliasing, which we don’t do I think for performance reasons.
