Ë
    ¨eh  ã                   ó�   — d dl Zd dlZd dlmZ d dlmZmZ	m
Z ej                  j                  d«       edg¬«      d„ «       «       Zy)é    N)Úcheck_figures_equal)ÚcollectionsÚpatchesÚpathÚcairoÚpng)Ú
extensionsc                 ór  — t         j                  j                  d«      }t         j                  j                  «       }t	        j
                  |j                  |j                  ddd…   g«      }t	        j
                  |j                  |j                  g«      }t        j                  ||«      }t        j                  |dz   |«      }|j                  «       }|j                  ddg«       |j                  ddg«       t        j                  |dddd	¬
«      }	|j                  |	«       t        j                  |dddd	¬
«      }	|j                  |	«       | j                  «       }|j                  ddg«       |j                  ddg«       t        j                  ||gdddd	¬«      }
|j!                  |
«       y)z†
    Test checks that the patch and collection are rendered with the specified
    alpha values in their facecolor and edgecolor.
    é   Néÿÿÿÿé   é   é   Údashdot)r   r   r   g      à?)r   r   r   g      è?)Ú	linewidthÚ	linestyleÚ	facecolorÚ	edgecolor)r   Ú
linestylesr   r   )ÚmpathÚPathÚunit_regular_starÚunit_circleÚnpÚconcatenateÚverticesÚcodesÚsubplotsÚset_xlimÚset_ylimÚmpatchesÚ	PathPatchÚ	add_patchÚmcollectionsÚPathCollectionÚadd_collection)Úfig_testÚfig_refÚstarÚcircleÚvertsr   Ú	cut_star1Ú	cut_star2ÚaxÚpatchÚcols              úa/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/matplotlib/tests/test_backend_cairo.pyÚtest_patch_alpha_coloringr2   
   sv  € ô �:‰:×'Ñ'¨Ó*€DÜ�Z‰Z×#Ñ#Ó%€Fä�N‰N˜FŸO™O¨T¯]©]¹4¸R¸4Ñ-@ÐAÓB€EÜ�N‰N˜FŸL™L¨$¯*©*Ð5Ó6€EÜ—
‘
˜5 %Ó(€IÜ—
‘
˜5 1™9 eÓ,€Ið 
×	Ñ	Ó	€BØ‡K�K��Q�ÔØ‡K�K��Q�ÔÜ×Ñ˜yØ)*°iØ)7Ø)8ô:€Eð ‡L�L�ÔÜ×Ñ˜yØ)*°iØ)7Ø)8ô:€Eð ‡L�L�Ôð 
×	Ñ	Ó	€BØ‡K�K��Q�ÔØ‡K�K��Q�ÔÜ
×
%Ñ
% y°)Ð&<Ø01¸iØ0>Ø0?ôA€Cð ×Ñ�cÕó    )Únumpyr   ÚpytestÚmatplotlib.testing.decoratorsr   Ú
matplotlibr   r$   r   r!   r   r   ÚmarkÚbackendr2   © r3   r1   ú<module>r;      sL   ðÛ ã å =÷Eñ Eð ‡�×Ñ�WÓÙ  Ô(ñ$ó )ó ñ$r3   