Zoom the canvas to a user defined value.
from krita import Krita
level = 450
app = Krita.instance()
window = app.activeWindow()
view = window.activeView()
canvas = view.canvas()
canvas.setZoomLevel(level / 100)
Download this sequence.
Zoom the canvas to a user defined value.
from krita import Krita
level = 450
app = Krita.instance()
window = app.activeWindow()
view = window.activeView()
canvas = view.canvas()
canvas.setZoomLevel(level / 100)
Download this sequence.