MCPcopy 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

updateMethod · 0.95
to_data_coorMethod · 0.95
to_panel_coorMethod · 0.95
mouse_downMethod · 0.80
mouse_moveMethod · 0.80
mouse_downMethod · 0.80
mouse_moveMethod · 0.80
mouse_downMethod · 0.80
mouse_moveMethod · 0.80
mouse_downMethod · 0.80
mouse_moveMethod · 0.80
mouse_downMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected