I’ve been trying to create a manga lines layout plugin, but I’m stuck. The lines are currently rendered on the canvas, and you can rotate the canvas, but when you zoom in, the lines become misaligned with the paper.
This is the test in a B6 (148x210 mm) 350dpi canvas (2039x2894 px), i also tested in a 600dpi and works.
The only problem is the zoom in/out, if there are a solution to this because would be a great step to add this function to Krita.
Here is the code, test it in the scripter:


