U
    '1eÙ$  ã                   @   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   úC/tmp/pip-unpacked-wheel-109iniqw/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ddddddddddddddddddgƒ¡ |  td	dddddd	dd
dg
ƒ¡ |  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   é
   i†  é¾   r   é   r	   r   iJ  é(   iöÿÿÿéx   é‚   éŒ   é–   é    éª   r   i^  éP   éK   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   s4    
       ÿ"ýr&   Ú__main__N)	Ú__version__Ú__doc__Zreportlab.graphics.shapesZreportlab.libr   r   r&   Ú__name__Úprintr   r   r   r   Ú<module>   s     