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

Method toScreen

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

Source from the content-addressed store, hash-verified

356 return self.width
357
358 def toScreen(self, x, y):
359 trans = self.trans
360 if trans:
361 return self.trans.screen(x,y)
362 else:
363 return x,y
364
365 def toWorld(self, x, y):
366 trans = self.trans

Callers 9

plotMethod · 0.95
_drawMethod · 0.80
_drawMethod · 0.80
_drawMethod · 0.80
_drawMethod · 0.80
_drawMethod · 0.80
_drawMethod · 0.80
_drawMethod · 0.80
_drawMethod · 0.80

Calls 1

screenMethod · 0.80

Tested by

no test coverage detected