ó
    •JÕi  ã                   óf   • S r SSK7  SS jrSS jrS r\S:X  a  \" 5       r\" \5        \" 5         gg)	ai  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
 -------------------------------------------
é    )Ú*c                 óz   • [        5       S   (       a  [        5         [        5         g [        5         [	        5         g )NÚpendown)ÚpenÚend_fillÚupÚdownÚ
begin_fill©ÚxÚys     ÚLib\turtledemo\paint.pyÚswitchupdownr      s    € Ü
ƒuˆY×ÜŒ
Ü
�äŒÜ�ó    c                 óN   • [         SS  [         S S -   q [        [         S   5        g )Né   r   )ÚcolorsÚcolorr   s     r   Úchangecolorr       s$   € ä�A�BˆZœ˜r ˜
Ñ"€FÜ	Œ&�‰)Õr   c                  óü   • [        S5        [        S5        [        S5        [        S5        / SQq[        [        S   5        [        5         [        [        S5        [        [        S5        [        [        S5        g	)
NÚcircleÚuserg      à?é   )ÚredÚgreenÚblueÚyellowr   r   é   Ú	EVENTLOOP)
ÚshapeÚ
resizemodeÚ	shapesizeÚwidthr   r   r   ÚonscreenclickÚgotor   © r   r   Úmainr'   %   sV   € ä	ˆ(„OÜˆvÔÜˆb„MÜ	ˆ!„HÚ-€FÜ	Œ&�‰)ÔÜ„NÜ”$�qÔÜ”+˜aÔ Ü”,˜qÔ!Ør   Ú__main__N)r   r   )	Ú__doc__Úturtler   r   r'   Ú__name__ÚmsgÚprintÚmainloopr&   r   r   Ú<module>r/      s@   ðñô( ôôò
ð ˆzÓÙ
‹&€CÙ	ˆ#„JÙ…Jð r   