+
    £‡i‘  ã                   óH   € ^ RI Ht ^ RIHt ^ RIHt ^ RIt ! R R]4      tR# )é    )Úquadratic_to_curves)ÚContourFilterPen)ÚReverseContourPenNc                   óF   a a€ ] tR t^t oRtRV 3R lltR tR tRtVt	V ;t
# )ÚQu2CuPena  A filter pen to convert quadratic bezier splines to cubic curves
using the FontTools SegmentPen protocol.

Args:

    other_pen: another SegmentPen used to draw the transformed outline.
    max_err: maximum approximation error in font units. For optimal results,
        if you know the UPEM of the font, we recommend setting this to a
        value equal, or close to UPEM / 1000.
    reverse_direction: flip the contours' direction but keep starting point.
    stats: a dictionary counting the point numbers of cubic segments.
c                óp   <€ V'       d   \        V4      p\        SV `	  V4       W0n        W n        WPn        R # )N)r   ÚsuperÚ__init__Ú	all_cubicÚmax_errÚstats)ÚselfÚ	other_penr   r   Úreverse_directionr   Ú	__class__s   &&&&&&€Úw/Users/tonyclaw/.openclaw/workspace/skills/math-calculator/venv/lib/python3.14/site-packages/fontTools/pens/qu2cuPen.pyr
   ÚQu2CuPen.__init__$   s.   ø€ ÷ Ü)¨)Ó4ˆIÜ‰Ñ˜Ô#Ø"ŒØŒØŽ
ó    c              #  ó~  "  € \        WP                  V P                  R 7      pV P                  eU   V FN  p\	        \        V4      ^,
          4      pV P                  P                  V^ 4      ^,           V P                  V&   KP  	  V F/  p\        V4      ^8X  d   RVR,          3x € K"  RVR,          3x € K1  	  R# 5i))r   NÚcurveTo:é   NNÚqCurveTo)r   r   r   r   ÚstrÚlenÚget)r   ÚqÚcurvesÚcurveÚns   &&   r   Ú_quadratics_to_curveÚQu2CuPen._quadratics_to_curve3   s•   é € Ü$ Q¯©ÀÇÁÔOˆØ:‰:Ò!ÛÜœ˜E›
 QÓ'Ø $§
¡
§¡¨q°!Ó 4°qÕ 8—
‘
˜1“ñ  ó ˆEÜ5‹z˜QŒØ  %¨¥)Ð,Ô,à! 5¨¥9Ð-Ô-ó	 ùs   ‚B;B=c                ón  € . pR p. pV F¸  w  rVVR8X  d^   V P                   '       g   \        V4      ^8”  d<   VR,          e1   VR,          f   \        R4      hVP                  V3V,           4       M<V'       d#   VP	                  V P                  V4      4       . pVP                  WV34       V'       d
   VR,          MR pKº  	  V'       d!   VP	                  V P                  V4      4       V P                   '       Eg6   Tp. pV EF*  w  rVVR8X  Ed   V'       Ed   VR,          ^ ,          R8X  dí   VR,          ^,          R,          pVR,          ^,          R,          pV^ ,          p	Ve²   \        P                  ! V	^ ,          V^ ,          ,
          V^ ,          V^ ,          ,
          4      '       dk   \        P                  ! V	^,          V^,          ,
          V^,          V^,          ,
          4      '       d$   VR,          ^,          R R V,           p
WZ3VR&   EK  VP                  WV34       EK-  	  V# )Nr   z4oncurve-less contours with all_cubic not implementedéÿÿÿÿéþÿÿÿ)r   r   ÚNotImplementedErrorÚappendÚextendr    ÚmathÚisclose)r   ÚcontourÚ
quadraticsÚ	currentPtÚ
newContourÚopÚargsÚpt0Úpt1Úpt2ÚnewArgss   &&         r   ÚfilterContourÚQu2CuPen.filterContour?   sÏ  € Øˆ
Øˆ	Øˆ
Û‰HˆBØZÔØ——¤3 t£9¨q¤=°T¸"µXÒ5Ià˜•8Ò#Ü-ØNóð ð ×!Ñ! 9 ,°Õ"5Õ6çØ×%Ñ% d×&?Ñ&?À
Ó&KÔLØ!#JØ×!Ñ! 2 *Ô-ß$(˜˜Rž¨dŠIñ  ÷ Ø×Ñ˜d×7Ñ7¸
ÓCÔDà~~‰~à ˆGØˆJÜ#‘Ø˜Õ#¯
¨
°zÀ"µ~ÀaÕ7HÈJÔ7VØ$ R.¨Õ+¨BÕ/CØ$ R.¨Õ+¨BÕ/CØ˜q'CàšÜ ŸLšL¨¨Q­°#°aµ&­¸#¸a½&À3ÀqÅ6½/×JÒJÜ ŸLšL¨¨Q­°#°aµ&­¸#¸a½&À3ÀqÅ6½/×JÒJà",¨R¥.°Õ"3°C°RÐ"8¸4Õ"?˜Ø*,¨˜
 2™Ú à×!Ñ! 2 *×-ñ $ð  Ðr   )r   r   r   )FFN)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r
   r    r4   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r   Ú__classdict__s   @@r   r   r      s   ù‡ € ñ÷ò
.÷*ò *r   r   )ÚfontTools.qu2cur   ÚfontTools.pens.filterPenr   Ú fontTools.pens.reverseContourPenr   r(   r   © r   r   Ú<module>rC      s"   ðõ  0Ý 5Ý >Û ôSÐö Sr   