SUMMARY This is a feature request, I don't know if this is the right place for this, but here it goes: Add shape recognition for the freehand line tool: Drawing a circle creates a perfect circle, a hand drawn line become a straight line, triangles and other shapes are recognized. https://youtu.be/Wqc64fdLtYo SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon 5.14 (available in About System) KDE Plasma Version: 5.14.3 KDE Frameworks Version: 5.52.0 Qt Version: 5.11.2 ADDITIONAL INFORMATION Video: https://youtu.be/Wqc64fdLtYo
There was KGestures once (or still is?), which used libstroke. gschem still uses libstroke. It claims, that it can detect when you are trying to draw an 'E' as gesture, but even struggles at detecting a 'D'. I had to draw it in exactly one style. Do you know which library (if any) xournal uses? Shape recognition could make annotating much more fluent, because you don't have to chose the right annotation tool every time. (I assume that you can underline/highlight with shape recognition.)
From what I've seen xournal doesn't have a gesture recognition as such, just a simple shape recognition, and yes it makes annotating much more fluent (that is why I'm asking for this feature). There is an explanation of xournal's shape recognition here: https://sourceforge.net/p/xournal/support-requests/6/ And there is a github mirror of the official repository (I am lost at sourceforge) here: https://github.com/xournal/xournal/ Under this repository you can find the shape recognition algorithm here: https://github.com/xournal/xournal/blob/master/src/xo-shapes.c Also I've found an attempt at a rewrite of xournal in C++ called xournalpp: https://github.com/xournalpp/xournalpp and I think I remember it also uses shape recognition (I guess taken from xournal) but for me it's a mess to install so I am not using it.