MCPcopy Index your code
hub / github.com/csev/py4e / toWorld

Method toWorld

code/graphics/graphics.py:365–370  ·  view source on GitHub ↗
(self, x, y)

Source from the content-addressed store, hash-verified

363 return x,y
364
365 def toWorld(self, x, y):
366 trans = self.trans
367 if trans:
368 return self.trans.world(x,y)
369 else:
370 return x,y
371
372 def setMouseHandler(self, func):
373 self._mouseCallback = func

Callers 2

getMouseMethod · 0.95
getLastMouseMethod · 0.95

Calls 1

worldMethod · 0.80

Tested by

no test coverage detected