;ò GÒ Fc@sUdkZhdd<dd<dd<dd<ddscCst|dƒSdS(Nsmm(s _convert_tosl(sl((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pystommAscCst|dƒSdS(Nsinch(s _convert_tosl(sl((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pystoinchDscCst|dƒSdS(Nspt(s _convert_tosl(sl((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pystoptGsslengthcBsztZdZdded„Zd„Zd„ZeZd„ZeZ d„Z e Z d„Z d „Z d „Zd „ZRS( s  PyX lengths PyX lengths are composed of five components (t=true, u=user, v=visual, w=width, and x=TeX) which can be scaled separately (except for the true component, which is always unscaled). Lengths can be constructed in units of "pt", "mm", "cm", "m" and "inch". When no unit is given, a module default is used, which can be changed with the help of the module level function set(). isucCsÆd|_|_|_|_|_t|ƒt|pt }|djo ||_ni|djo ||_nO|djo ||_n5|djo ||_n|djo ||_ndS(s› create a length instance of the given type with a length f in the given unit. If unit is not set, the currently set default unit is used. istsusvswsxN( sselfstsusvswsxsfloatsfs_msunits _default_unitslstype(sselfsfstypesunitsl((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pys__init__Ys%         cCs9ytt|ƒt|ƒƒSWn|i|ƒ SnXdS(N(scmpstomsselfsothers__cmp__(sselfsother((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pys__cmp__jscCsatƒ}||i|_||i|_||i|_||i|_||i|_|SdS(N( slengthsresultsfactorsselfstsusvswsx(sselfsfactorsresult((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pys__mul__ss cCs‰t|tƒot|ƒt|ƒSntƒ}|i||_|i||_|i||_|i ||_ |i ||_ |SdS(N( s isinstancesdivisorslengthstomsselfsresultstsusvswsx(sselfsdivisorsresult((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pys__div__~s cCs§t|tƒ o&yt|ƒ}Wq7||Sq7Xntƒ}|i|i|_|i|i|_|i|i|_|i|i|_|i |i |_ |SdS(N( s isinstancesotherslengthsselfsresultstsusvswsx(sselfsothersresult((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pys__add__‹s cCsšt|tƒ o'yt|ƒ}Wq8| |Sq8Xntƒ}|i|i|_|i|i|_|i|i|_|i|i|_|i |i |_ |SdS(N( s isinstancesotherslengthsselfsresultstsusvswsx(sselfsothersresult((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pys__sub__žs cCs‘t|tƒ ot|ƒ}ntƒ}|i|i|_|i|i|_|i|i|_|i|i|_|i |i |_ |SdS(N( s isinstancesotherslengthsresultstsselfsusvswsx(sselfsothersresult((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pys__rsub__¯s cCsRtƒ}|i |_|i |_|i |_|i |_|i |_|SdS(N(slengthsresultsselfstsusvswsx(sselfsresult((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pys__neg__»s      cCsd|iSdS(Ns3(%(t)f t + %(u)f u + %(v)f v + %(w)f w + %(x)f x) m(sselfs__dict__(sself((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pys__str__Äs(s__name__s __module__s__doc__sNones__init__s__cmp__s__mul__s__rmul__s__div__s __truediv__s__add__s__radd__s__sub__s__rsub__s__neg__s__str__(((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pyslengthNs      stypesunit(+stypessscales _default_units_msNonessets _convert_tostomstocmstommstoinchstoptslengthsu_ptsptsu_msmsu_mmsmmsu_cmscmsu_inchsinchst_ptst_mst_mmst_cmst_inchsv_ptsv_msv_mmsv_cmsv_inchsw_ptsw_msw_mmsw_cmsw_inchsx_ptsx_msx_mmsx_cmsx_inch()sw_mssetst_mmscmsx_msw_cmsx_ptsu_mmst_cmsv_mst_ptsw_mmsscalesv_ptsptst_msw_ptsu_ms_mstomsinchst_inchsu_cmstocmstopts _convert_tosv_inchsv_cmsw_inchstypessu_ptstoinchsmmsv_mmsmsx_mmslengthstommsx_inchsu_inchsx_cm((s</mnt/gmirror/ports/graphics/py-PyX/work/PyX-0.10/pyx/unit.pys?sH 3?