MCPcopy Create free account
hub / github.com/Image-Py/imagepy / zoomout

Method zoomout

imagepy/ui/canvas.py:258–263  ·  view source on GitHub ↗
(self, x, y)

Source from the content-addressed store, hash-verified

256 dc.UnMask()
257
258 def zoomout(self, x, y):
259 if self.scaleidx == len(self.scales)-1:return
260 #x,y = self.to_data_coor(x, y)
261 self.scaleidx += 1
262 self.zoom(self.scales[self.scaleidx],x,y)
263 self.ips.update()
264
265 def zoomin(self, x, y):
266 if self.scaleidx == 0:return

Callers 3

mouse_downMethod · 0.80
mouse_wheelMethod · 0.80
mouse_wheelMethod · 0.80

Calls 2

zoomMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected