HEX
Server: LiteSpeed
System: Linux premium283.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User: citaqlmd (746)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib64/python3.8/turtledemo/__pycache__/paint.cpython-38.pyc
U

e5d
�@sHdZddlTddd�Zddd�Zdd�Zed	krDe�Zee�e�d
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 toggles between 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
 -------------------------------------------
�)�*cCs(t�drt�t�nt�t�dS)NZpendown)ZpenZend_fillZupZdownZ
begin_fill��x�y�r�(/usr/lib64/python3.8/turtledemo/paint.py�switchupdowns

rcCs(tdd�tdd�attd�dS)N�r)�colors�colorrrrr�changecolor srcCs`td�td�td�td�ddddgattd	�t�ttd
�tt	d�ttd�dS)
NZcircle�userg�?�ZredZgreenZblueZyellowrr	�Z	EVENTLOOP)
�shapeZ
resizemodeZ	shapesize�widthr
rrZ
onscreenclickZgotorrrrr�main%s


r�__main__N)rr)rr)	�__doc__Zturtlerrr�__name__�msg�printZmainlooprrrr�<module>s