a
    7¤XhÙ$  ã                   @   s@   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 )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   úd/var/www/viveiro_mudafortebrasil/venv/lib/python3.9/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   é<   é   )ZstrokeWidthZstrokeColorr
   éÜ   zBasic Shapes)r   r   ZLineZCircler   ZpurpleZWedgeZPolyLineZPolygonZEllipser   r   r   r   Zblackr   r   r   r   ÚgetDrawing2   s"    
ýr(   Ú__main__N)	Ú__version__Ú__doc__Zreportlab.graphics.shapesZreportlab.libr   r   r(   Ú__name__Úprintr   r   r   r   Ú<module>   s     