Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
plot
Method · 0.95
_draw
Method · 0.80
_draw
Method · 0.80
_draw
Method · 0.80
_draw
Method · 0.80
_draw
Method · 0.80
_draw
Method · 0.80
_draw
Method · 0.80
_draw
Method · 0.80
Calls
1
screen
Method · 0.80
Tested by
no test coverage detected