Your IP : 216.73.216.213


Current Path : /opt/alt/python34/lib64/python3.4/turtledemo/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib64/python3.4/turtledemo/__pycache__/paint.cpython-34.pyc

�
h f�@smdZddlTdddd�Zdddd�Zdd�Zed	krie�Zee�e�nd
S)ap       turtle-example-suite:

            tdemo_paint.py

A simple  event-driven paint program

- left mouse button moves turtle
- middle mouse button changes color
- right mouse button toogles betweem pen up
(no line drawn when the turtle moves) and
pen down (line is drawn). If pen up follows
at least two pen-down moves, the polygon that
includes the starting point is filled.
 -------------------------------------------
 Play around by clicking into the canvas
 using all three mouse buttons.
 -------------------------------------------
          To exit press STOP button
 -------------------------------------------
�)�*cCs0t�drt�t�nt�t�dS)NZpendown)ZpenZend_fillZupZdownZ
begin_fill)�x�y�r�5/opt/alt/python34/lib64/python3.4/turtledemo/paint.py�switchupdowns


rcCs0tdd�tdd�attd�dS)N�r)�colors�color)rrrrr�changecolor srcCsztd�td�td�td�ddddgattd	�t�ttd
�tt	d�ttd�dS)
NZcircle�userg�?�ZredZgreenZblueZyellowrr�Z	EVENTLOOP)
�shapeZ
resizemodeZ	shapesize�widthr	r
rZ
onscreenclickZgotorrrrr�main%s






r�__main__N)	�__doc__Zturtlerrr�__name__�msg�printZmainlooprrrr�<module>s