+
    i                     V   ^ 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# )    )BasePen)PathReportLabPenc                   F   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                Z    \         P                  ! W4       Vf   \        4       pW n        R # N)r   __init__r   path)selfglyphSetr
   s   &&&{/Users/tonyclaw/.openclaw/workspace/skills/math-calculator/venv/lib/python3.14/site-packages/fontTools/pens/reportLabPen.pyr	   ReportLabPen.__init__   s!    (<6D	    c                D    Vw  r#V P                   P                  W#4       R # r   )r
   moveTor   pxys   &&  r   _moveToReportLabPen._moveTo       		r   c                D    Vw  r#V P                   P                  W#4       R # r   )r
   lineTor   s   &&  r   _lineToReportLabPen._lineTo   r   r   c                X    Vw  rEVw  rgVw  rV P                   P                  WEWgW4       R # r   )r
   curveTo)
r   p1p2p3x1y1x2y2x3y3s
   &&&&      r   _curveToOneReportLabPen._curveToOne   s-    		"""1r   c                :    V P                   P                  4        R # r   )r
   	closePath)r   s   &r   
_closePathReportLabPen._closePath   s    		r   )r
   r   )__name__
__module____qualname____firstlineno____doc__r	   r   r   r(   r,   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s&     M2 r   __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)	fillColorstrokeWidthi  )renderPM)GroupDrawingscaleg333333?PNG)fmt)&fontTools.pens.basePenr   reportlab.graphics.shapesr   __all__r   r.   syslenargvprintexitfontTools.ttLibr7   reportlab.libr8   r
   	glyphName	imageFilefontgetGlyphSetgsredpengdrawwidthwhreportlab.graphicsr;   r<   r=   r>   	translatedadd
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   