
    Kwg$                     J    d Z dZddl ddlmZ d Zd Zedk(  r	 ee       yy)	z3.3.0zDefines 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            	          t        dd      } | j                  t        ddddt        j                               | j                  t        dddt        j                               | S )	z(Hello World, on a rectangular background     2   ,  d   	fillColor   zHello World)DrawingaddRectr   yellowStringredDs    V/var/www/horilla/myenv/lib/python3.12/site-packages/reportlab/graphics/testdrawings.pygetDrawing1r      sO     	SAEE$r2sC6==
9:EE&S-6::
>? H    c                  v   t        dd      } | j                  t        dddd             | j                  t        dddt        j
                               | j                  t        dddt        j
                               | j                  t        d	ddt        j
                               | j                  t        d
ddddt        j
                               | j                  t        g d             | j                  t        g d             | j                  t        dddd             | j                  t        dddddt        j                  t        j                               | j                  t        dddddd             | j                  t        dddt        j                               | 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   s    r   getDrawing2r5      sC    	SAEE$r"S
EE&Sv}}
56EE&Sv}}
56EE&Sv}}
56EE%CCfmm
<=EE( 1 2 3 EE'8
9:EE'"c2r
"#EE$sCR!::( )
 EE$sCRR
()EE&B&,,
?@Hr   __main__N)	__version____doc__reportlab.graphics.shapesreportlab.libr   r   r5   __name__print r   r   <module>r>      s<   
 	 (  V Z	'N r   