Is it possible to draw on canvas using script? Eg. drawing line/circle/rect providing coordinates as parameters?
The only way I found out to set a mark on the canvas was to create a selection and then stroke it. Even that requires a manual intervention of the stroke dialog box.
There’s a work in progress, but merge request is currently not ready yet…
For now, drawing on a canvas through script is possible but you can only do it through a QPainter (ie: you only have access to Qt API to draw, don’t expect to draw with Krita’s brushes)
That’s interesting! You don’t happen to have some example code to do that via Krita+Python, do you? I’d like to draw just e.g. a filled circle on a frame. While I have found PyQtexamples, I haven’t found anything that ties this into Krita.
Hi All, I came here to report that the WIP github merge request has been closed. I was told that the work may still get done, but this request is closed.