+
    bIiv                     .   R t Rt^ RIHt ^ RI5 ^ RI5 ^ RIHtHtH	t	H
t
HtHtHtHt ^ RIHt ^ RIHt ^ RIt^ RIHtHtHt ]! RR	R
RRRRRRRRRRRRRRRRRRRRRR R!R"R#R$4      tR%t ! R& R']4      t ! R( R)]4      tR* tR+ t]R,8X  d
   ]! 4        R# R# )-z3.3.0a  This file is a collection of flag graphics as widgets.

All flags are represented at the ratio of 1:2, even where the official ratio for the flag is something else
(such as 3:5 for the German national flag). The only exceptions are for where this would look _very_ wrong,
such as the Danish flag whose (ratio is 28:37), or the Swiss flag (which is square).

Unless otherwise stated, these flags are all the 'national flags' of the countries, rather than their
state flags, naval flags, ensigns or any other variants. (National flags are the flag flown by civilians
of a country and the ones usually used to represent a country abroad. State flags are the variants used by
the government and by diplomatic missions overseas).

To check on how close these are to the 'official' representations of flags, check the World Flag Database at
http://www.flags.ndirect.co.uk/

The flags this file contains are:

EU Members:
United Kingdom, Austria, Belgium, Denmark, Finland, France, Germany, Greece, Ireland, Italy, Luxembourg,
Holland (The Netherlands), Spain, Sweden

Others:
USA, Czech Republic, European Union, Switzerland, Turkey, Brazil

(Brazilian flag contributed by Publio da Costa Melo [publio@planetarium.com.br]).
)colors)*)LineRectPolygonDrawingGroupStringCircleWedge)	renderPDF)_SymbolN)sincospiUKUSAAfghanistanAustriaBelgiumChinaCubaDenmarkFinlandFranceGermanyGreeceIrelandItalyJapan
LuxembourgHolland	PalestinePortugalRussiaSpainSwedenNorwayCzechRepublicTurkeySwitzerlandEUBrazil      Y@c                   ^   a  ] tR t^Kt o Rt]! ]]! ]RR7      R7      t	Rt
R tR tR tR	tV tR
# )StarzaThis draws a 5-pointed star.

possible attributes:
'x', 'y', 'size', 'fillColor', 'strokeColor'

zangle in degreesdesc)BASEangler-   c                    \         P                  ! V 4       ^dV n        \        P                  V n        RV n        ^ V n        R# )d   N)r   __init__sizer   yellow	fillColorstrokeColorr3   selfs   &ډC:\Users\petid\OneDrive\Desktop\Maestro\MAESTRO CLAUDE\MAESTRO\maestro-backend\venv\Lib\site-packages\reportlab/graphics/widgets/flags.pyr6   Star.__init__W   s1    	
    c                l   \        ^^d4      p\        4       p^2Vn        ^ Vn        VP	                  V4       ^
pVP	                  \        VP                  VP                  R,          ,           VP                  RV,          ,
          VP                  P                  \        P                  RVR7      4       V# )          @333333?middler9   
textAnchorfontSize)r   r/   xyaddr	   r7   	__class____name__r   black)r<   DetlabelFontSizes   &   r=   demo	Star.demo^   s    CV	b		fRTT2773;'s=/@)ALL11V\\V^%24 	5 r?   c                B   \        V P                  4      p\        4       p\        V P                  4      ^,          pV\        ^\        R,          ,          4      ,          \        ^$\        R,          ,          4      ,          p. p^Zp\        ^4       Fl  pW43 Fb  pV\        R,          ,          p	VP                  V\        V	4      ,          4       VP                  V\        V	4      ,          4       V^$,           pKd  	  Kn  	  \        VV P                  V P                  V^2,          R7      p
VP                  V P                  4       VP                  V P                  V P                  ,           V P                   V P"                  ,           4       VP%                  V
4       V# )   g     f@r9   r:   strokeWidth)floatr7   r   r   r   r   rangeappendr   r9   r:   rotater3   shiftrH   dxrI   dyrJ   )r<   sgRrPr3   iradiusthetastars   &          r=   draw	Star.drawj   s'   $))G $))Qc"bh-  RE]!33qA$r%x(E
*+E
*+
	   q $"&"2"2 !"& 	
	twwtvvdgg~.	dr?   )r3   r9   r7   r:   N)rL   
__module____qualname____firstlineno____doc__AttrMapr   AttrMapValueisNumber_attrMap_sizer6   rQ   rg   __static_attributes____classdictcell____classdict__s   @r=   r/   r/   K   s>      G 0BCH E
 r?   r/   c            
       @  a  ] tR t^t o Rt]! ]]! ]RR7      ]! ]	R4      ]! ]
RR7      R7      t/ tR tR tR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR tR t R t!R t"R t#R t$R t%R  t&R! t'R" t(R# t)R$ t*R% t+R& t,R' t-R( t.R) t/R*t0V t1R+# ),FlagzThis is a generic flag class that all the flags in this file use as a basis.

This class basically provides edges and a tidy-up routine to hide any bits of
line that overlap the 'outside' of the flag

possible attributes:
'x', 'y', 'size', 'fillColor'
zBackground colorr0   zWhether a background is drawnz
Which flag)r2   r9   borderkindc                    \         P                  ! V 4       R V n        ^dV n        \        P
                  V n        ^V n        V P                  V4       R # N)	r   r6   ry   r7   r   whiter9   rx   setProperties)r<   kws   &,r=   r6   Flag.__init__   s>    		2r?   c                    V P                   R,          P                  P                   Uu. uF
  qf   K  VNK  	  up# u upi )z*return a list of the things we can displayry   )rp   validate_enum)r<   rH   s   & r=   availableFlagNamesFlag.availableFlagNames   s3    ==099??Q?a?QQQs   ==c                    \         p\        4       pVP                  \        ^ ^ V^,          V\        P
                  \        P                  ^ R7      4       V# )    rU   )rq   r   rJ   r   r   purplerM   r<   r^   r_   s   &  r=   
_Flag_NoneFlag._Flag_None   s=    G	d1a1aV]]&,,defgr?   c                :   V P                   p\        4       pVP                  V4       V P                  V P                  ,           V P
                  V P                  ,           V P                  R ,          repVP                  ^ \        V) V) \        V R^V,          4      ^V,          ,           \        V RV4      ^V,          ,           RV P                  V^,          R7      4       VP                  WE4       VP                  V\        ,          V\        ,          4       V# )rB   _width_heightNwidthheightr9   r:   rV   )r7   r   rJ   rH   r\   rI   r]   rV   insertr   getattrr:   r[   scalerq   )r<   fr^   r_   rH   rI   sWs   &&     r=   _borderDrawFlag._borderDraw   s    IIG	a66$''>466$''>43C3CB3Fb	4bSXac(B1R4(GPWX\]fghPijklnjnPn 0@0@bQRdT 	U		%5!r?   c                    V P                   ;'       g    R pV P                  P                  V4      pV'       g6   \        V RV,           4      ! 4       pVP	                  4       V P                  V&   V P                  V4      # )None_Flag_)ry   _cachegetr   _exploder   )r<   ry   r   s   &  r=   rg   	Flag.draw   s`    yy""FKKOOD!Xd]+-A !

DKK""r?   c                .    \         P                   ! V 4      # r{   )copyr;   s   &r=   clone
Flag.clone   s    yyr?   c                   \        ^^d4      pV P                  4       p^ RIpV\        VP                  4       4      \	        V4      ,          ,          p\        4       pW$n        ^ Vn        ^ Vn        VP                  V4       ^
pVP                  \        VP                  VP                  R,          ,           VP                  RV,          ,
          V\        P                  RVR7      4       \        VP                  R,          4      pVP                  \        VP                  VP                  ,           VP                  VP                  R,          ,           R\        P                  RVRR	7      4       V# )
rA   NrB   rC   rD   rE         @SAMPLEHelvetica-Bold)r9   rF   rG   fontName)r   r   timeintlenrw   ry   rH   rI   rJ   r	   r7   r   rM   gold)r<   rN   namer   fxrP   s   &     r=   rQ   	Flag.demo   s   C&&(C		$s4y01V	b		fRTT2773;'s=/@)A FLLX%24 	5 BGGCK(	fRTT277^RTTBGGCK%9$%2=MO 	P r?   c                   \         p\        4       pV^,          pVP                  \        ^ ^ W1\        P
                  \        P                  ^ R7      4       VP                  \        ^ ^ VR,          ^ W1R,          W1W1R,          ,
          V^ VR,          .\        P                  R^ R7      4       VP                  \        ^ VR,          ^ WR,          WVR,          V^ W1R,          ,
          ^ .\        P                  R^ R7      4       VP                  \        ^ WR,          ,
          WR,          ^,          ,
          VR,          WR,          ^,          ,
          VR,          ^ V.\        P                  R^ R7      4       VP                  \        ^ ^ WR,          ^,          ,
          VR,          WR,          ^,          ,
          VR,          VR,          ^ .\        P                  R^ R7      4       VP                  \        W1WR,          ^,          ,           VR,          WR,          ^,          ,           VR,          W1R,          ,
          V.\        P                  R^ R7      4       VP                  \        W1R,          WR,          ^,          ,           VR,          WR,          ^,          ,           VR,          V^ .\        P                  R^ R7      4       VP                  \        VR	,          ^,          ^ R
V,          ^,          V\        P                  R^ R7      4       VP                  \        ^ VR,          W1R,          \        P                  R^ R7      4       VP                  \        VR,          ^,          ^ RV,          ^,          V\        P                  R^ R7      4       VP                  \        ^ VR,          W1R,          \        P                  R^ R7      4       V# )rT   rU   ?g̼?Ng      .@      $@g?ffffff?gzG?g{Gz?r   333333??皙?皙?皙?gffffff?)
rq   r   rJ   r   r   navyrM   r   	mintcreamredr<   r^   r_   ws   &   r=   _Flag_UKFlag._Flag_UK   s<   GaC	d1a6;;fll`abc	gqAdF1a7Q!dF(1a5Q_e_o_o  ~B  PQ  R  	S	gqGadF15!Aq4xPQR`f`p`p  C  QR  S  	T	gq!tV*qT61*~41faZ<STUYSY\]_`aouoyoy  JN  \]  ^  	_	gq!aD&!n$!faZ.AdFVWX\V\_`aouoyoy  JN  \]  ^  	_	gqaD&!n$!faZ.AdFUVZ^X^U_abcqwq{q{  LP  ^_  `  	a	gqT6Q4
^qvtVQJSTUYSY\]_`aouoyoy  JN  \]  ^  	_	dQtVQJ461*QFL\L\lp~  A  	B	d1qva#6CSCScguvwx	dQtVQJ3q5!)A6::eiwxyz	d1quQu&**\`nopqr?   c                   \         p\        4       p\        ^ ^ V^,          V\        P                  \        P
                  ^ R7      pVP                  V4       \        ^^ R4       Fr  pVR,          pV^,          ^ 8X  g   \        P                  pM\        P                  p\        ^ WV,          ,
          V^,          VVR^R7      pVP                  V4       Kt  	  \        ^ VX^,          ,
          RV,          V^,          \        P                  R^ R7      pVP                  V4       VR,          p	V	R,          p
VR,          pVR	,          p\        ^4       F  p\        ^4       F  p\        4       pWn        ^ VR
,          ,
          V	R,          ,           V,           W,          ,           Vn        \        P                  Vn        W^,           V,          ,
          V
,           Vn        VP                  V4       K  	  K  	  \        ^4       F  p\        ^4       F  p\        4       pWn        ^ VR
,          ,
          V	R,          ,           VR,          ,           W,          ,           Vn        \        P                  Vn        W^,           V,          ,
          VR,          ,           V
,           Vn        VP                  V4       K  	  K  	  V# )r   rU   g      *@Nr   g?g
ףp=
?rB         "@g      @g      6@      ,@g      2@)rq   r   r   r   r   rM   rJ   rX   r   darkbluer/   r7   rH   r9   rI   )r<   r^   r_   boxstripecounterstripeheightstripecolorredorwhitelineblueboxlsslss2s9s7starxcounterstarycounterlss   &               r=   	_Flag_USAFlag._Flag_USA   s   G1a1aV-=-=V\\ghi	c
"Bq"-MT6L!!Oq($jj$..!!am)C&DQqSYe'tMNEE.! . q1l1n-c!eLQRNtL	gg3wsUsU!!HL %aV4xC'*<?:%//q.",,T1b	 !) % "!HL %aV!D&z#c')!D&0@%//q.",,af5d:b	 !) % r?   c           
        \         p\        4       p\        ^ ^ V^,          V\        P                  \        P
                  ^ R7      pVP                  V4       \        ^ VR,          R,          VR,          VR,          \        P                  R^ R7      pVP                  V4       \        ^ ^ VR,          VR,          \        P
                  R^ R7      pVP                  V4       V# r   rU         @rB   Nr   )rq   r   r   r   r   rM   rJ   	limegreen)r<   r^   r_   r   greenboxblackboxs   &     r=   _Flag_AfghanistanFlag._Flag_Afghanistan  s    G1a1a((RSU	c
QsUCK#ae",,DaQ	h1AcE!C%"LL!M	hr?   c           
        \         p\        4       p\        ^ ^ V^,          V\        P                  \        P
                  ^ R7      pVP                  V4       \        ^ ^ VR,          VR,          \        P                  R^ R7      pVP                  V4       \        ^ VR,          R,          VR,          VR,          \        P                  R^ R7      pVP                  V4       V# r   rU   rB   r   Nr   )rq   r   r   r   r   rM   rJ   r   )r<   r^   r_   r   redbox1redbox2s   &     r=   _Flag_AustriaFlag._Flag_Austria   s    G1a1aV-=-= ,,A7	c
 q!1S53

$AG	gqAcE3;quQsU

$AG	gr?   c           
     d   \         p\        4       p\        ^ ^ V^,          V\        P                  \        P                  ^ R7      pVP                  V4       \        ^ ^ VR,          R,          V\        P                  R^ R7      pVP                  V4       \        VR,          R,          ^ VR,          R,          V\        P                  R^ R7      pVP                  V4       \        VR,          R,          ^ VR,          R,          V\        P                  R^ R7      pVP                  V4       V# r   rU   r   rB   Nr   r   )rq   r   r   r   rM   rJ   r   r   )r<   r^   r_   r   box1box2box3s   &      r=   _Flag_BelgiumFlag._Flag_Belgium2  s    G1a1aFLLaQ	c
 Aq3ADaI	daeS[1QsUCK4QH	daeS[1QsUCK

$AG	dr?   c                <   \         p\        4       pVR ,          ;V n        pVP                  \	        ^ ^ W1\
        P                  R^ R7      4       W!R,          ^ VR,          3R lpV! ^^^^ 4       V! ^
^^R4       V! ^^^R4       V! ^^^R4       V! ^
^^R	4       V# )
      ?NrU   g      4@rB   c                     \        4       p\        P                  Vn        W8n        W%,          ^,          Vn        W,          V,           Vn        W,          V,           Vn        VP                  V4       R# )rT   N)	r/   r   r8   r9   r3   r7   rH   rI   rJ   )	rH   rI   r7   r3   r_   r   x0y0r^   s	   &&&&&&&& r=   addStar!Flag._Flag_China.<locals>.addStarN  sK    AAKGVAXAF#b&AC#b&ACEE!Hr?   gbXoB@g~ )m @g '0@g01J@)rq   r   r   rJ   r   r   r   )r<   r^   r_   r   r   s   &    r=   _Flag_ChinaFlag._Flag_ChinaH  s    GC%a	d1aSTUV%&41# 	 	!Aq1Q{#1Q{#1Q{#1Q{#r?   c                   \         p\        4       p\        ^4       Fm  p\        ^ W1,          R,          V^,          VR,          \        P
                  \        P                  .V^,          ,          R^ R7      pVP                  V4       Ko  	  \        ^ ^ ^V,          R,          VR,          ^ V.\        P                  R^ R7      pVP                  V4       \        4       pRV,          R,          Vn        VR,          Vn        ^V,          R,          Vn        \        P                  Vn        VP                  V4       \        ^ ^ V^,          VR\        P                   ^ R7      pVP                  V4       V# )	         @Nr   rB   pointsr9   r:   rV         @r   rU   )rq   r   rX   r   r   r   r   rJ   r   r   r/   rH   rI   r7   r|   r9   rM   )r<   r^   r_   rc   striperedwedgerf   r   s   &       r=   
_Flag_CubaFlag._Flag_Cuba^  s#   GqA!QSWAaC##__f.>.>?!D"F EE&M  aAaCGaea$C &

$AO	hvQt3aCH		d1a1a ,, 	
c
r?   c           
        \         p\        4       pVR ,          ;V n        p\        ^ ^ W1\        P
                  \        P                  ^ R7      pVP                  V4       \        VR,          ^,          ^ VR,          V\        P                  R^ R7      pVP                  V4       \        ^ VR,          VR,          ,
          W1R,          \        P                  R^ R7      pVP                  V4       V# ffffff?rU   r   g      @Nr   rB   g      (@)	rq   r   r   r   r   r   rM   rJ   r   )r<   r^   r_   r   r   	whitebox1	whitebox2s   &      r=   _Flag_DenmarkFlag._Flag_Denmark|  s    GC%a1a

&,,AO	c
1S5!)aquQ((!M		iaeaf-a#((!M		ir?   c           
        \         p\        4       p\        ^ ^ V^,          V\        P                  \        P
                  ^ R7      pVP                  V4       \        VR,          ^ RV,          V\        P                  R^ R7      pVP                  V4       \        ^ VR,          V^,          VR,          \        P                  R^ R7      pVP                  V4       V# )r   rU   g333333?r   Nr   r   )rq   r   r   r   
ghostwhiterM   rJ   r   )r<   r^   r_   r   	blueline1	blueline2s   &     r=   _Flag_FinlandFlag._Flag_Finland  s    G 1a1a))STV	c
!C%!3q5tL		iQsU1Q3qutL		ir?   c           
     d   \         p\        4       p\        ^ ^ V^,          V\        P                  \        P
                  ^ R7      pVP                  V4       \        ^ ^ VR,          R,          V\        P                  R^ R7      pVP                  V4       \        VR,          R,          ^ VR,          R,          V\        P                  R^ R7      pVP                  V4       \        VR,          R,          ^ VR,          R,          V\        P                  R^ R7      pVP                  V4       V# r   )
rq   r   r   r   r   rM   rJ   bluer   r   )r<   r^   r_   r   r   whiteboxredboxs   &      r=   _Flag_FranceFlag._Flag_France  s    G1a1aV[[bcd	c
q!QsUCK4QH	g!C%q!C%a((!M	h#s{Q#s{A

 	
fr?   c           
        \         p\        4       p\        ^ ^ V^,          V\        P                  \        P
                  ^ R7      pVP                  V4       \        ^ VR,          R,          VR,          VR,          \        P
                  R^ R7      pVP                  V4       \        ^ VR,          VR,          VR,          \        P                  R^ R7      pVP                  V4       V# r   )rq   r   r   r   r   rM   rJ   	orangered)r<   r^   r_   r   	blackbox1r   s   &     r=   _Flag_GermanyFlag._Flag_Germany  s    G1a1a"KKv||QRT	c
aeS[3quDaI		iq1S53qu((!M	gr?   c                r   \         p\        4       p\        ^ ^ V^,          V\        P                  \        P
                  ^ R7      pVP                  V4       \        ^	^ R4       Fr  pVR,          pV^,          ^ 8X  g   \        P                  pM\        P                  p\        ^ WV,          ,
          V^,          VVR^R7      pVP                  V4       Kt  	  \        ^ VX^,          ,
          V^,          V^,          \        P                  R^ R7      pVP                  V4       \        ^ W^,          ,
          V^,          V\        P                  R^ R7      p	VP                  V	4       \        V^,          W^,          ,
          WU^,          \        P                  R^ R7      p
VP                  V
4       V# )r   rU   r   Nr   r   )
rq   r   r   r   r   rM   rJ   rX   deepskybluer   )r<   r^   r_   r   r   r   r   blueorwhitelinebluebox1
whiteline1
whiteline2s   &          r=   _Flag_GreeceFlag._Flag_Greece  si   G1a1aV[[&,llC	c
"Aa_MS5L!!Oq($00$.."1q}*D'EaPQcZf'tMOEE/" - QQ.QP\]^P^**$AO	h!qq.0aP\((!M
	j<>aa-?jk]k((!M
	jr?   c           
        \         p\        4       p\        ^ ^ V^,          V\        P                  \        P
                  ^ R7      pVP                  V4       \        VR,          R,          ^ RVR,          ,          R,          V\        P                  R^ R7      pVP                  V4       \        RVR,          ,          R,          ^ VR,          R,          V\        P                  R^ R7      pVP                  V4       V# r   )	rq   r   r   r   forestgreenrM   rJ   r   
darkorange)r<   r^   r_   r   r
  	orangeboxs   &     r=   _Flag_IrelandFlag._Flag_Ireland  s    G1a1a**&,,TUW	c
!C%qaeS!",,DaQ	h3#;s?a#s{1))1N		ir?   c                   \         p\        4       pVP                  \        ^ ^ V^,          V\        P
                  R^ R7      4       VP                  \        ^V,          R,          ^ V^,          R,          V\        P                  R^ R7      4       VP                  \        ^V,          R,          ^ V^,          R,          V\        P                  R^ R7      4       V# )r   NrU   r   r   )rq   r   rJ   r   r   r  r   r   r   s   &  r=   _Flag_ItalyFlag._Flag_Italy  s    G	d1Qqs1v'9'9dXYZ[	dAaC9a!SyHXHXhlz{|}	dAaC9a!Sy

bftuvwr?   c                &   \         p\        4       pVR ,          ;q0n        VP                  \	        ^ ^ W1\
        P                  R^ R7      4       VP                  \        VR,          VR,          RV,          \
        P                  R^ R7      4       V# )r   NrU   rB   r   cxcyra   r9   r:   rV   )	rq   r   r   rJ   r   r   r   r
   r   r   s   &   r=   _Flag_JapanFlag._Flag_Japan  sp    GC%K	d1QqV%5%5$TUVW	f#3QPTbcder?   c           
        \         p\        4       p\        ^ ^ V^,          V\        P                  \        P
                  ^ R7      pVP                  V4       \        ^ VR,          R,          VR,          VR,          \        P                  R^ R7      pVP                  V4       \        ^ ^ VR,          VR,          \        P                  R^ R7      pVP                  V4       V# r   )	rq   r   r   r   r   rM   rJ   r   
dodgerbluer<   r^   r_   r   r  r   s   &     r=   _Flag_LuxembourgFlag._Flag_Luxembourg	  s    G1a1a((RSU	c
a1S5#+aeAcE"JJdK	fq!1S53"--TqR	gr?   c           
        \         p\        4       p\        ^ ^ V^,          V\        P                  \        P
                  ^ R7      pVP                  V4       \        ^ VR,          R,          VR,          VR,          \        P                  R^ R7      pVP                  V4       \        ^ ^ VR,          VR,          \        P                  R^ R7      pVP                  V4       V# r   )	rq   r   r   r   r   rM   rJ   r   r   r,  s   &     r=   _Flag_HollandFlag._Flag_Holland  s    G1a1a((RSU	c
a1S5#+aeAcE"JJdK	fq!1S53"OO4QP	gr?   c                    \        4       # r{   )r   r;   s   &r=   _Flag_PortugalFlag._Flag_Portugal+  s	    wr?   c                x   \         p\        4       pVR ,          ;q0n        VR,          pVP                  \	        ^ ^ W4\
        P                  R^ R7      4       VP                  \	        ^ WCV\
        P                  R^ R7      4       VP                  \	        ^ ^V,          W4\
        P                  R^ R7      4       V# )r   r   Nr   )	rq   r   r   rJ   r   r   r   r	  r   )r<   r^   r_   r   ts   &    r=   _Flag_RussiaFlag._Flag_Russia.  s    GC%KcE	d1aq

RVdefg	d1aSWefgh	d1ac&:J:JZ^lmnor?   c                   \         p\        4       pVR ,          ;q0n        VP                  \	        ^ ^ W1\
        P                  R^ R7      4       VP                  \	        ^ VR,          W1R,          \
        P                  R^ R7      4       V# )r   Nr   r   rB   )rq   r   r   rJ   r   r   r   r8   r   s   &   r=   _Flag_SpainFlag._Flag_Spain8  sk    GC%K	d1aq

RVdefg	d1quQu&--_cqrstr?   c           
        \         p\        4       pVR ,          V n        \        ^ ^ V P                  V\        P
                  \        P                  ^ R7      pVP                  V4       \        VR,          ^,          ^ VR,          V\        P                  R^ R7      pVP                  V4       \        ^ VR,          VR,          ,
          V P                  VR,          \        P                  R^ R7      pVP                  V4       V# r   )	rq   r   r   r   r   r+  rM   rJ   r   )r<   r^   r_   r   r   r   s   &     r=   _Flag_SwedenFlag._Flag_Sweden@  s    Ge1aa))STV	c
aeQY!C%"KKtL	dA34(QsU 	
dr?   c           
        \         p\        4       pVR ,          V n        \        ^ ^ V P                  V\        P
                  \        P                  ^ R7      pVP                  V4       \        ^ ^ V P                  V\        P
                  \        P                  ^ R7      pVP                  V4       \        VR,          ^,          ^ VR,          V\        P                  R^ R7      pVP                  V4       \        ^ VR,          V P                  VR,          \        P                  R^ R7      pVP                  V4       \        VR,          ^,          ^ RV,          V\        P                  R^ R7      pVP                  V4       \        ^ VR,          V P                  VR,          \        P                  R^ R7      pVP                  V4       V# )	r   rU   r   Nr   r   r   r   r   )
rq   r   r   r   r   r   rM   rJ   r  r   )r<   r^   r_   r   r  r  r  r  s   &       r=   _Flag_NorwayFlag._Flag_NorwayS  s^   Ge1aa"JJfllPQS	c
1aa"JJfllPQS	c
AcE19q#a"--TqR
	j!aeDKK#"--TqR
	j1U7A+Qq"OO4QP		iQtVDKK#"OO4QP		ir?   c           
        \         p\        4       p\        ^ ^ V^,          V\        P                  \        P
                  ^ R7      pVP                  V4       \        ^ ^ V^,          VR,          \        P                  R^ R7      pVP                  V4       \        ^ ^ WR,          ^ V.\        P                  R^ R7      pVP                  V4       V# )r   rU   rB   Nr   r   )
rq   r   r   r   r   rM   rJ   r   r   r   )r<   r^   r_   r   r  	bluewedges   &     r=   _Flag_CzechRepublicFlag._Flag_CzechRepublicq  s    G1a1a((&,ll 	
c
a!A#ae

 	
fq!Q3A%> &tQRT		ir?   c           
     \   \         p\        4       p\        ^ VR,          V^,          VR,          \        P                  R^ R7      pVP                  V4       \        ^ ^ V^,          VR,          \        P                  R^ R7      pVP                  V4       \        ^ ^V,          R,          V^,          VR,          \        P                  R^ R7      pVP                  V4       \        ^ ^ ^V,          R,          VR,          ^ V.\        P                  R^ R7      pVP                  V4       V# )r   r   NrU   r   rB   r   )
rq   r   r   r   r   rJ   r   rM   r   r   )r<   r^   r_   r   r   r   r   s   &      r=   _Flag_PalestineFlag._Flag_Palestine  s    G1aeQqS!C%((&* 	
c
1AaC#(( 	
h1Q3s7!A#ae 	
haAaCGaea$C &

$AO	hr?   c           
        \         p\        4       p\        ^ ^ V^,          V\        P                  \        P
                  ^ R7      pVP                  V4       \        VR,          ^,          VR,          VR,          \        P                  R^ R7      pVP                  V4       \        VR,          ^,          VR,          VR,          \        P                  R^ R7      pVP                  V4       \        4       p^Vn
        VR	,          Vn        VR
,          ^,          VP                  R,          ,           Vn        VR
,          Vn        \        P                  Vn        RVn        VP                  V4       V# )r   rU   r   rB   r   Nr%  g(\?gQ?r         ?)rq   r   r   r   r   rM   rJ   r
   r   r/   r3   r7   rH   rI   r9   r:   )r<   r^   r_   r   whitecircle	redcirclewss   &      r=   _Flag_TurkeyFlag._Flag_Turkey  s   G1a1a

&,ll 	
c
!D&!3!C%(( 	
k$zqu$

	 	
iVC%#qy$#''	b	r?   c                B   \         p\        4       pWn        VP                  \	        ^ ^ W\
        P                  \
        P                  ^ R7      4       VP                  \        VR,          VR,          V^,          WR,          ,
          \
        P                  \
        P                  VR,          R7      4       VP                  \        VR,          VR,          WR,          ,
          VR,          \
        P                  \
        P                  VR,          R7      4       V# )r   rU   rB   g      @r   )
rq   r   r   rJ   r   r   r   rM   r   r   r   s   &  r=   _Flag_SwitzerlandFlag._Flag_Switzerland  s    G	d1a6::V\\_`ab	dAcEQsUacQ#Y((8H8HWXY\W\_ 	`	dAcEQsUa3i1S5((8H8HVWX[V[] 	^r?   c                2   \         p\        4       pR V,          ;q0n        VP                  \	        ^ ^ W1\
        P                  R^ R7      4       VR,          pVR,          pVR,          pTpTp^p	^\        ,          V	,          p
\        V	4       F  pW,          p\        4       p\        V4      V,          V,           Vn        \        V4      V,          V,           Vn        VR,          Vn        \
        P                  Vn        VP                  V4       K  	  V# )r   NrU   rB   r   r   )rq   r   r   rJ   r   r   r   r   rX   r/   r   rH   r   rI   r7   r   r9   )r<   r^   r_   r   centerxcenteryrd   yradiusxradiusnStarsdeltarc   radgss   &             r=   _Flag_EUFlag._Flag_EU  s    Ga%K	d1a6??$\]^_##u"VvA'CBS&(BDS&(BDdFBGBLEE"I  r?   c                ^
   \         p\        4       pVR ,          pV^,          ;V n        pW$W3R lpVP                  \	        ^ ^ WA\
        P                  R^ R7      4       VP                  \        RV,          VR,          VR,          VRV,          ,
          VRV,          ,
          VR,          VR,          RV,          .\
        P                  R^ R7      4       VP                  \        VR,          VR,          RV,          \
        P                  R^ R7      4       VP                  \        VR,          ^V,          ,
          ^ R	V,          ^2R
R	V,          \
        P                  R^ R7	      4       VP                  \        VR,          VR,          RV,          ^RRV,          \
        P                  R^ R7	      4       VP                  \        VR,          ^V,          ,
          ^ ^V,          R^d^V,          \
        P                  R^ R7	      4       VP                  \	        ^ ^ WAR,          RV,          ,           \
        P                  R^ R7      4       VP                  \        RV,          VR,          VR,          VR,          ^V,          ,
          VRV,          ,
          VR,          VR,          RV,          .\
        P                  R^ R7      4       VP                  \        VR,          VR,          RV,          ^RRV,          \
        P                  R^ R7	      4       V! RRR4       V! R#RR4       V! R$R%R4       V! R&R'R4       V! ^ R(R4       V! ^R)R4       V! R)R*R4       V! ^ R+R4       V! ^R,R4       V! ^R-R4       V! ^R.R4       V! RR/R4       V! ^R(R4       V! R'R0R4       V! R1R2R4       V! R3R4R4       V! ^R'R4       V! ^R'R4       V! ^R$R4       V! ^R'R4       V! ^R'R4       V! R5R0R4       V! RRR4       V! R6R0R4       V! R7R8R4       V! ^ R9R4       Rp\        V4      pRV,          pRV,          p	VR,          ^V,          ,
          p
^ p\        V4       F  p^\        ,          W,          ,
          R,
          p\!        V4      V	,          V
,           p\#        V4      V	,          V,           pV^8X  d   RV,          pM	R V,          p\        \%        WWl,          R!VR\
        P                  R"7      4      pVP'                  V4       VP                  V4       K  	  V# ):r   c                    \        4       p\        P                  Vn        W&,          Vn        VR ,          V RV,          ,          ,           Vn        VR ,          VRV,          ,          ,           Vn        VP                  V4       R# )rB   r   N)r/   r   r   r9   r7   rH   rI   rJ   )rH   rI   r7   r_   r   r^   msts   &&&&&&& r=   r   "Flag._Flag_Brazil.<locals>.addStar  sZ    B))BLfBGcEa4!8n-BDcEa4!8n-BDEE"Ir?   NrU   g333333?rB   r   g      @r%  g      !@gfffffX@g5^I@i`  gH@r   gjt@gau@g	@r   r   rJ  g      ?r   g      @r   gQ?r   zORDEM E PROGRESSOg:I%:?g@gGe@n@r   r   r   )r   rG   r:   r9   g      !g      g      g      g      g      g      g      ig      g	igr   g      g!gɿgi)rq   r   r   rJ   r   r   greenr   r8   r
   r	  r   r   r   rX   r   r   r   r	   rZ   )r<   r^   r_   r`  r   r   sTmpnTmprY  rd   rT  rU  rc   rZ  rH   rI   zg2s   &                 r=   _Flag_BrazilFlag._Flag_Brazil  s   GdFr6"a !! 	 	
d1a6<<tYZ[\	gQ3!C%!SU)QAYPQRUPUXYZ]X]`cde`ef"(--tQRT 	U	f#!C%3q5%{{tL 	M	eQsUQqSM1c!eRs1u$..4QP 	Q	eQsUaeeAgsCq$..4QP 	Q	eQsUQqSM1ac4ac$kkdK 	L	d1asUc!eO%||4QP 	Q	gQ#3#!3q5	STUXSX]^_b]bdghidij"(--tQRT 	U	eAcE1S5%'3uQw$kkdK 	L 	CSR4$s$sT$$t$t"T$tBt$tT$45$s$s$s$s$sT#CT$R"S"4yt#aS51Q3-tAB$.-/C#hvog%A#hvog%AAvF6vaDG6FF GBIIcNEE"I  r?   )r   rx   r9   ry   r7   N)2rL   ri   rj   rk   rl   rm   r   rn   isColor	isBoolean	validFlagrp   r   r6   r   r   r   rg   r   rQ   r   r   r   r   r   r   r   r   r  r  r  r  r  r"  r(  r-  r0  r3  r7  r:  r=  r@  rD  rG  rN  rQ  r\  rl  rr   rs   rt   s   @r=   rw   rw      s      G$W3EF!)-LM	=H FR	#("*X"$,,<$$,"B"""&<(4@
.N Nr?   rw   c                 &    \        4       pWn        V# r{   )rw   ry   )r   flags   & r=   makeFlagrs  2  s    6DIKr?   c                    ^
p Rp. ROpR;r4^ pRpV EF?  pV'       g   \        RR4      p\        V4      pVP                  V4      p	W^,          ,          Vn        W8n        VP                  V4       VP                  \        VP                  VP                  R,          ,           VP                  RV ,          ,
          V\        P                  RV R7      4       V	^,          '       d
   V^},
          pV	^,          '       d   V^ 8  g   WrR,          8X  g   EK  \        P                  ! VR	V,          R
V^,           ,          4       TpV^,           pRpEKB  	  R# )zfThis function produces three pdf files with examples of all the signs and symbols from this file.
    i  Ni  i  rB   rC   rD   rE   zflags%02d.pdfzflags.py - Page #%d)      )r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r%   r&   r'   r(   r)   r*   r+   r,   r   )r   rs  indexrH   rI   rJ   r	   r7   r   rM   r   
drawToFile)
rP   XflagsrI   Y0r   rN   r   rr  rc   s
             r=   testr|  7  s   
 MAE6 LA	AAgc#&!~KKQ3	d	fTVVTYYs]+TVVS5F-GM[ 	\Q33AGaCCAaCD)O  OA$57LaPQc7RSA!AA r?   __main__) __version__rl   reportlab.libr   reportlab.lib.validatorsreportlab.lib.attrmapreportlab.graphics.shapesr   r   r   r   r   r	   r
   r   reportlab.graphicsr   *reportlab.graphics.widgets.signsandsymbolsr   r   mathr   r   r   OneOfrp  rq   r/   rw   rs  r|  rL    r?   r=   <module>r     s    	4 ! & # ` ` ` ( >   
9	> 	77 7rl
7 l
\
5n ZF r?   