Relative Content

Tag Archive for pythoncanvascoordinateszoomingcoordinate-transformation

Consistent Point Placement on Zoomable Tkinter Canvas

Im working on a python project where you have a canvas with an image that you can zoom in/out on various points, i made it so i can place dots on this canvas. Initially at zoom_scale 1 (no zoom change) the dots are placed correctly but when i zoom in it zooms out of place and i cant figure out what function to make to calculate their position on the 512×512 canvas and make them not move.