Pixel gaps in line plots
- Dominant language
- C++
- Stars
- 6.2k
- Forks
- 693
- PR merge metrics
- No merged PRs in 30d
Description
I'm drawing `ImPlot::PlotLineG` with a width of about 4 here.
At each kink there are small gaps like here:

The problem gets worse when points are very close together (and the gaps flicker on moving)
here I draw about 1 point per pixel

As I workaround, I added a scatter plot of points over the lines - see the red line in the last picture - looks much better
I wonder if something like this could be done in the original PlotLine
I just checked that the same pixels appear when using the original `ImGui::PlotLines` with width 4.0f hacked in
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.