Problem Statement
When drawing lines using the brush tool and moving the mouse too fast, the lines become jagged (an example with variable mouse speeds can be found below).
Solution
The following configuration option can be introduced -
line_smoothing, float in range $[0.0, 1.0]$, default: 0.0
- sets the smoothing factor for line smoothing algorithm
- if $0.0$, make line smoothness depend on mouse speed (current behaviour)
- else, treat as input for "smoothing algorithm"
Apologies for not providing any technical information about the specifics of the implementation, I am not too familiar with GUIs in C.