Hi, we're using QCustomPlot where I work to display complex data using QCPCuves, and I discovered a nasty in the clipping algorithm
Here is the original curve zoom out :
https://drive.google.com/file/d/1ibIMq2gfF-05gPt3yr3MH5lH3YA632pl/view?usp=sharing
When we zoom a little bit everything is ok :
https://drive.google.com/file/d/1fPsO_0K9Ro9AovcPLOgViRxZtvs4jL6K/view?usp=sharing
But when zooming more, line artefacts going cross the screen appear:
https://drive.google.com/file/d/1tV1aAUKnldEBeb8RkJBN7ZvLVy0UUqAA/view?usp=sharing
Seems to me the bug is located in getCurveLines using the region clipping algorithm, but I can't figure exactly where.
Do you any idea on how to fix it ?
Thanks