<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
U
    e5d
  ã                   @   sH   d Z ddlT ddd„Zddd„Zdd„ Zed	krDeƒ Zeeƒ 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
 -------------------------------------------
é    )Ú*c                 C   s(   t ƒ d rtƒ  tƒ  ntƒ  tƒ  d S )NZpendown)ZpenZend_fillZupZdownZ
begin_fill©ÚxÚy© r   ú(/usr/lib64/python3.8/turtledemo/paint.pyÚswitchupdown   s
    
r   c                 C   s(   t dd … t d d…  a tt d ƒ d S )Né   r   )ÚcolorsÚcolorr   r   r   r   Úchangecolor    s    r   c                   C   s`   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 )NZcircleÚuserg      à?é   ZredZgreenZblueZyellowr   r	   é   Z	EVENTLOOP)
ÚshapeZ
resizemodeZ	shapesizeÚwidthr
   r   r   ZonscreenclickZgotor   r   r   r   r   Úmain%   s    


r   Ú__main__N)r   r   )r   r   )	Ú__doc__Zturtler   r   r   Ú__name__ÚmsgÚprintZmainloopr   r   r   r   Ú<module>   s   

