I was wondering if there is a way to enforce a straight pointer movement in macOS.
For instance when you are annotating a PDF document, you may want to make a straight stroke as an underline.
So what I'm looking for is a feature like when moving your pointers with the shift key pressed, then the pointer movement would be restricted to a straight line (either horizontal, vertical, or diagonal).
Is there such feature in macOS, or other applications which makes this possible?