+
    f7i  c                   sV   ^ RI Ht ^ RIHt R.t ! R R]4      t]R8X  Ed   ^ RIt]! ]P                  4      ^8  d3   ]
! R4       ]
! R4       ]
! R	4       ]
! R
4       ]P                  ! ^ 4       ^ RIHt ^ RIHt ]P                  ^,          t]P                  ^,          t]! ]P                  4      ^8  d   ]P                  ^,          tM	R],          t]! ]4      t]P)                  4       t]! ]]! ]P,                  ^R7      4      t]],          t]P3                  ]4       ]P4                  Rutt^ RIHt ^ RIHtH t H!t! ]! ]P                   4      t]PE                  ^ ^4       ]PC                  RR4       ] ! ]]4      t#]#PI                  ]4       ]PJ                  ! ]#]RR7       R# R# )i    )BasePen)PathReportLabPenc                   sF   a  ] tR t^t o RtR	R ltR tR tR tR t	Rt
V tR# )
r   zCA pen for drawing onto a ``reportlab.graphics.shapes.Path`` object.Nc                sZ    \         P                  ! W4       Vf   \        4       pW n        R # N)r    __init__r   path)selfZglyphSetr   s   &&&B/usr/lib64/python3.14/site-packages/fontTools/pens/reportLabPen.pyr   ZReportLabPen.__init__   s!    (<6D	    c                D    Vw  r#V P                   P                  W#4       R # r   )r   ZmoveTor   ZpZxZy   &&  r   _moveToZReportLabPen._moveTo       		r   c                r	   r   )r   ZlineTor
   r   r   _lineToZReportLabPen._lineTo   r   r   c                sX    Vw  rEVw  rgVw  rV P                   P                  WEWgW4       R # r   )r   ZcurveTo)
r   Zp1Zp2Zp3Zx1Zy1Zx2Zy2Zx3Zy3s
   &&&&      r   _curveToOneZReportLabPen._curveToOne   s-    		"""1r   c                s:    V P                   P                  4        R # r   )r   Z	closePath)r   s   &r   
_closePathZReportLabPen._closePath   s    		r   )r   r   )__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   r   r   r   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s&     M2 r   Z__main__NzJUsage: reportLabPen.py <OTF/TTF font> <glyphname> [<image file to create>]zJ  If no image file name is created, by default <glyphname>.png is created.z/  example: reportLabPen.py Arial.TTF R test.pngzK  (The file format will be PNG, regardless of the image file name supplied))TTFont)colorsz%s.png)Z	fillColorZstrokeWidthi  )renderPM)GroupDrawingscaleg333333?ZPNG)Zfmt)&ZfontTools.pens.basePenr    Zreportlab.graphics.shapesr   Z__all__r   r   ZsysZlenZargvZprintZexitZfontTools.ttLibr   Zreportlab.libr   r   Z	glyphNameZ	imageFileZfontZgetGlyphSetZgsZredZpenZgZdrawZwidthZwZhZreportlab.graphicsr   r   r   r   Z	translateZdZaddZ
drawToFile) r   r   <module>r      ss   * * 
7 6 z
388}qX	
 	X	
 	?@Y	
 	&$88A;DI
388}qHHQK	y(	$<D				B
r4&**!D
EC
9AFF3K77DDAq+?? 	chhAKK3GGC1AEE!H9%0Y r   