Home
last modified time | relevance | path

Searched refs:WUNIT (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Demo/turtle/
Dtdemo_nim.py24 WUNIT = SCREENWIDTH // ((MAXSTICKS // 5) * 11 + (MAXSTICKS % 5) * 2) variable
97 self.shapesize(HUNIT/10.0, WUNIT/20.0)
106 x = (3 + 11 * packet + 2 * remainder) * WUNIT
108 return x - SCREENWIDTH // 2 + WUNIT // 2, SCREENHEIGHT // 2 - y - HUNIT // 2
/external/python/cpython3/Lib/turtledemo/
Dnim.py24 WUNIT = SCREENWIDTH // ((MAXSTICKS // 5) * 11 + (MAXSTICKS % 5) * 2) variable
97 self.shapesize(HUNIT/10.0, WUNIT/20.0)
106 x = (3 + 11 * packet + 2 * remainder) * WUNIT
108 return x - SCREENWIDTH // 2 + WUNIT // 2, SCREENHEIGHT // 2 - y - HUNIT // 2