o
    ¬+ ZÜ$  ã                   @   sD   d Z dZddlT ddlmZ dd„ Zdd„ Zed	kr eeƒ d
S d
S )z3.3.0zöDefines some standard drawings to use as test cases

This contains a number of routines to generate test drawings
for reportlab/graphics.  For now they are contrived, but we will expand them
to try and trip up any parser. Feel free to add more.

é    )Ú*)Úcolorsc               	   C   s@   t ddƒ} |  tddddtjd�¡ |  tdddtjd�¡ | S )	z(Hello World, on a rectangular backgroundé�  éÈ   é2   é,  éd   ©Ú	fillColoré´   zHello World)ÚDrawingÚaddÚRectr   ÚyellowÚStringÚred©ÚD© r   úQ/var/www/html/env/lib/python3.10/site-packages/reportlab/graphics/testdrawings.pyÚgetDrawing1   s   
r   c                  C   s  t ddƒ} |  tddddƒ¡ |  tdddtjd�¡ |  tdddtjd�¡ |  td	ddtjd�¡ |  td
ddddtjd�¡ |  tg d¢ƒ¡ |  tg d¢ƒ¡ |  t	ddddƒ¡ |  t
dddddtjtjd�¡ |  t
ddddddƒ¡ |  tdddtjd�¡ | S )z|This demonstrates the basic shapes.  There are
    no groups or references.  Each solid shape should have
    a purple fill.r   r   é
   é†  é¾   r   é   r	   r   éJ  é(   iöÿÿÿ)éx   r   é‚   r   éŒ   r   é–   r   é    r   éª   r   r   r   r   r   r   r   )
r   r   i^  r   r   éP   r   éK   r   r   r   r    r   é<   é   )ÚstrokeWidthÚstrokeColorr
   éÜ   zBasic Shapes)r   r   ÚLineÚCircler   ÚpurpleÚWedgeÚPolyLineÚPolygonÚEllipser   r   r   r   Úblackr   r   r   r   ÚgetDrawing2   s"   
ýr2   Ú__main__N)	Ú__version__Ú__doc__Úreportlab.graphics.shapesÚreportlab.libr   r   r2   Ú__name__Úprintr   r   r   r   Ú<module>   s     ÿ