Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Image-Py/imagepy
/ get_scale
Method
get_scale
imagepy/ui/canvas.py:272–273 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
270
self.ips.update()
271
272
def
get_scale(self):
273
return
self.scales[self.scaleidx]
274
275
def
to_data_coor(self, x, y):
276
x = (x - self.box[0] - self.imgbox[0])
Callers
15
update
Method · 0.95
to_data_coor
Method · 0.95
to_panel_coor
Method · 0.95
mouse_down
Method · 0.80
mouse_move
Method · 0.80
mouse_down
Method · 0.80
mouse_move
Method · 0.80
mouse_down
Method · 0.80
mouse_move
Method · 0.80
mouse_down
Method · 0.80
mouse_move
Method · 0.80
mouse_down
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected