+
    }c  c                   s    ^ RI Ht ^RIHt ^RIHt  ! R R]P
                  4      t ! R R]4      t ! R R	]4      tR
# )i    )request)resource)cursorc                   sX   a  ] tR t^t o ]P
                  P                  tR tR t	Rt
V tR# )Fontablec                sZ    \         P                  ! V P                  V P                  R 7      # ))displayfont)r    Z	QueryFontr   id)selfs   &:/usr/lib/python3.14/site-packages/Xlib/xobject/fontable.pyqueryZFontable.query   s"      4<<(,1 	1    c                s\    \         P                  ! V P                  V P                  VR 7      # ))r   r   string)r    ZQueryTextExtentsr   r   )r   r      &&r   query_text_extentsZFontable.query_text_extents"   s%    ''$,,/3ww179 	9r
    N)__name__
__module____qualname____firstlineno__r   Resource__resource__Z__fontable__r	   r   __static_attributes____classdictcell__Z__classdict__   @r   r   r      s%     $$11L19 9r
   r   c                   s~   a  ] tR t^(t o ]P
                  P                  tRR ltRR lt	RR lt
RR ltRR ltRtV tR# )	GCNc                sb    \         P                  ! V P                  VV P                  VR 7       R# ))r   onerrorgcZattrsN)r    ZChangeGCr   r   )r   r   Zkeyss   &&,r   changeZ	GC.change+   s#    4<<#*"gg!%	'r
   c                sd    \         P                  ! V P                  VVV P                  VR 7       R# ))r   r   src_gcZdst_gcmaskN)r    ZCopyGCr   r   )r   r   r   r      &&&&r   copyZGC.copy2   s$    !( & $"		$r
   c                sd    \         P                  ! V P                  VV P                  VVR 7       R# ))r   r   r   Zdash_offsetdashesN)r    Z	SetDashesr   r   )r   Zoffsetr!   r   r   r   
set_dashesZGC.set_dashes9   s&    DLL$+#ww(.#)		+r
   c           
     sh    \         P                  ! V P                  VVV P                  VVVR 7       R# ))r   r   orderingr   x_originy_origin
rectanglesN)r    ZSetClipRectanglesr   r   )r   r$   r%   r&   r#   r   s   &&&&&&r   set_clip_rectanglesZGC.set_clip_rectangles@   s,    !!DLL,3-5'+ww-5-5/9	;r
   c                    \         P                  ! V P                  VV P                  R 7       V P                  P	                  V P                  4       R# ))r   r   r   N)r    ZFreeGCr   r   free_resource_idr   r   r   r   freeZGC.freeH   s6    !( GG	% 	%%dgg.r
   r   N)r   r   r   r   r   r   r   Z__gc__r   r    r"   r'   r+   r   r   r   r   r   r   r   (   s4     ++F'$+;/ /r
   r   c                   s\   a  ] tR t^Qt o ]P
                  P                  tRR ltR t	Rt
V tR# )FontNc                r(   ))r   r   r   N)r    Z	CloseFontr   r   r)   r*   r   r   closeZ
Font.closeT   s8    DLL$+!%	* 	%%dgg.r
   c                s4   Vw  rgpVw  rpV P                   P                  4       p\        P                  ! V P                   VV P                  VVVVVVV	V
VR 7       V P                   P                  R\        P                  4      pV! V P                   V^R7      # ))r   cidZsourcer   source_char	mask_charfore_red
fore_green	fore_blueback_red
back_green	back_bluer   )Zowner)r   Zallocate_resource_idr    ZCreateGlyphCursorr   Zget_resource_classr   ZCursor)r   r   r0   r1   Z
foregroundZ
backgroundr2   r3   r4   r5   r6   r7   r/   Zclss   &&&&&&        r   create_glyph_cursorZFont.create_glyph_cursorZ   s    *4'i*4'ill//1!!DLL(++/77)-0;.7-5/9.7-5/9.7	9 ll--hF4<<a00r
   r   r,   )r   r   r   r   r   r   r   Z__font__r.   r8   r   r   r   r   r   r-   r-   Q   s%       --H/1 1r
   r-   N)	ZXlib.protocolr    Z r   r   r   r   r   r-   r   r
   r   <module>r9      s;   , "  
9x   
9%/ %/R18 1r
   