Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
feature request: pixel-perfect line mode #1395
I've played with a little code myself
you can run the sample from the "runtime" directory of the repository via "luajit ../samples/gl_pixelperfect_line.lua"
referenced this issue
Feb 21, 2017
@dacap could it be what was implemented is not what this feature request is about? At least 1.2.6 still only allows a few directions with angle snapping, instead of many more. Ideally the line tool gets the "pixel perfect" checkbox that the brush tool has, which then would enable this line snapping permanently instead of using shift. Feel free to derive from the code I provided in the above sample