Your IP : 216.73.216.213
�
��fs c @ sm d Z d d l Td d d d � Z d d d d � Z d d � Z e d k ri e � Z e e � e � n d
S( u� turtle-example-suite:
tdemo_paint.py
A simple eventdriven paint program
- use left mouse button to move turtle
- middle mouse button to change color
- right mouse button do turn filling on/off
-------------------------------------------
Play around by clicking into the canvas
using all three mouse buttons.
-------------------------------------------
To exit press STOP button
-------------------------------------------
i ( u *c C s0 t � d r t � t � n t � t � d S( Nu pendown( u penu end_fillu upu downu
begin_fill( u xu y( ( u5 /opt/alt/python33/lib64/python3.3/turtledemo/paint.pyu switchupdown s
u switchupdownc C s0 t d d � t d d � a t t d � d S( Ni i ( u colorsu color( u xu y( ( u5 /opt/alt/python33/lib64/python3.3/turtledemo/paint.pyu changecolor s u changecolorc C sz t d � t d � t d � t d � d d d d g a t t d � t � t t d
� t t d � t t d � d S(
Nu circleu userg �?i u redu greenu blueu yellowi i i u EVENTLOOP(
u shapeu
resizemodeu shapesizeu widthu colorsu coloru switchupdownu
onscreenclicku gotou changecolor( ( ( u5 /opt/alt/python33/lib64/python3.3/turtledemo/paint.pyu main! s
u mainu __main__N( u __doc__u turtleu switchupdownu changecoloru mainu __name__u msgu printu mainloop( ( ( u5 /opt/alt/python33/lib64/python3.3/turtledemo/paint.pyu <module> s