ofs | hex dump | ascii |
---|
0000 | 61 0d 0d 0a 00 00 00 00 ec 85 01 60 d4 0f 00 00 e3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | a..........`.................... |
0020 | 00 0d 00 00 00 40 00 00 00 73 9a 00 00 00 64 00 5a 00 64 01 64 02 6c 01 5a 01 64 03 64 04 64 05 | .....@...s....d.Z.d.d.l.Z.d.d.d. |
0040 | 64 06 64 07 64 08 64 09 64 0a 64 0b 64 0c 64 0d 64 05 64 0e 9c 0c 5a 02 67 00 64 0f a2 01 5a 03 | d.d.d.d.d.d.d.d.d.d...Z.g.d...Z. |
0060 | 65 01 a0 04 64 10 a0 05 64 11 a0 06 65 03 a1 01 a1 01 a1 01 5a 07 65 01 a0 04 64 12 a1 01 5a 08 | e...d...d...e.......Z.e...d...Z. |
0080 | 65 01 a0 04 64 13 a0 05 65 08 6a 09 65 07 6a 09 a1 02 a1 01 5a 0a 64 20 64 15 64 16 84 01 5a 0b | e...d...e.j.e.j.....Z.d.d.d...Z. |
00a0 | 64 21 64 18 64 19 84 01 5a 0c 64 22 64 1a 64 1b 84 01 5a 0d 64 1c 64 1d 84 00 5a 0e 64 1e 64 1f | d!d.d...Z.d"d.d...Z.d.d...Z.d.d. |
00c0 | 84 00 5a 0f 64 02 53 00 29 23 7a 47 0a 43 6f 6e 76 65 72 74 20 74 6f 20 61 6e 64 20 66 72 6f 6d | ..Z.d.S.)#zG.Convert.to.and.from |
00e0 | 20 76 61 72 69 6f 75 73 20 75 6e 69 74 73 20 61 6e 64 20 66 69 6e 64 20 74 68 65 20 63 6c 6f 73 | .various.units.and.find.the.clos |
0100 | 65 73 74 20 6d 61 74 63 68 69 6e 67 20 75 6e 69 74 2e 0a e9 00 00 00 00 4e 67 00 00 00 00 00 00 | est.matching.unit.......Ng...... |
0120 | 58 40 67 55 55 55 55 55 55 f5 3f 67 00 00 00 00 00 00 f0 3f 67 8f c7 e3 f1 78 3c 0e 40 67 b9 5c | X@gUUUUUU.?g.......?g....x<.@g.\ |
0140 | 2e 97 cb e5 42 40 67 e2 70 38 1c 0e 87 ad 40 67 3c 1e 8f c7 e3 d5 4c 41 67 93 c7 e3 f1 78 3c ee | ....B@g.p8....@g<.....LAg....x<. |
0160 | 3f 67 00 00 00 00 00 00 30 40 67 00 00 00 00 00 00 ab 40 67 00 00 00 00 00 00 92 40 29 0c da 02 | ?g......0@g.......@g.......@)... |
0180 | 69 6e da 02 70 74 da 02 70 78 da 02 6d 6d da 02 63 6d da 01 6d da 02 6b 6d da 01 51 da 02 70 63 | in..pt..px..mm..cm..m..km..Q..pc |
01a0 | da 02 79 64 da 02 66 74 da 00 29 20 72 02 00 00 00 72 03 00 00 00 72 04 00 00 00 72 05 00 00 00 | ..yd..ft..).r....r....r....r.... |
01c0 | 72 06 00 00 00 72 07 00 00 00 72 08 00 00 00 72 09 00 00 00 72 0a 00 00 00 72 0b 00 00 00 72 0c | r....r....r....r....r....r....r. |
01e0 | 00 00 00 72 0d 00 00 00 fa 01 25 5a 02 65 6d da 02 65 78 da 02 63 68 da 03 72 65 6d 5a 02 76 77 | ...r......%Z.em..ex..ch..remZ.vw |
0200 | 5a 02 76 68 5a 04 76 6d 69 6e 5a 04 76 6d 61 78 5a 03 64 65 67 5a 04 67 72 61 64 5a 03 72 61 64 | Z.vhZ.vminZ.vmaxZ.degZ.gradZ.rad |
0220 | 5a 04 74 75 72 6e da 01 73 da 02 6d 73 5a 02 48 7a 5a 03 6b 48 7a 5a 03 64 70 69 5a 04 64 70 63 | Z.turn..s..msZ.HzZ.kHzZ.dpiZ.dpc |
0240 | 6d 5a 04 64 70 70 78 7a 04 28 7b 7d 29 fa 01 7c 7a 3a 28 28 5b 2d 2b 5d 3f 5b 30 2d 39 5d 2b 28 | mZ.dppxz.({})..|z:(([-+]?[0-9]+( |
0260 | 5c 2e 5b 30 2d 39 5d 2a 29 3f 7c 5b 2d 2b 5d 3f 5c 2e 5b 30 2d 39 5d 2b 29 28 5b 65 45 5d 5b 2d | \.[0-9]*)?|[-+]?\.[0-9]+)([eE][- |
0280 | 2b 5d 3f 5b 30 2d 39 5d 2b 29 3f 29 7a 0f 5e 5c 73 2a 7b 7d 5c 73 2a 7b 7d 5c 73 2a 24 72 04 00 | +]?[0-9]+)?)z.^\s*{}\s*{}\s*$r.. |
02a0 | 00 00 63 03 00 00 00 00 00 00 00 00 00 00 00 04 00 00 00 04 00 00 00 43 00 00 00 73 46 00 00 00 | ..c....................C...sF... |
02c0 | 74 00 a0 01 74 02 7c 00 83 01 a1 01 7d 03 7c 03 72 32 74 03 7c 03 a0 04 a1 00 64 01 19 00 83 01 | t...t.|.....}.|.r2t.|.....d..... |
02e0 | 7c 03 a0 04 a1 00 64 02 19 00 70 2e 7c 01 66 02 53 00 7c 02 64 03 75 01 72 42 7c 02 7c 01 66 02 | |.....d...p.|.f.S.|.d.u.rB|.|.f. |
0300 | 53 00 64 03 53 00 29 04 7a 75 0a 20 20 20 20 54 61 6b 65 73 20 61 20 76 61 6c 75 65 20 73 75 63 | S.d.S.).zu.....Takes.a.value.suc |
0320 | 68 20 61 73 20 35 35 2e 33 32 70 78 20 61 6e 64 20 72 65 74 75 72 6e 73 20 28 35 35 2e 33 32 2c | h.as.55.32px.and.returns.(55.32, |
0340 | 20 27 70 78 27 29 0a 20 20 20 20 52 65 74 75 72 6e 73 20 64 65 66 61 75 6c 74 20 28 4e 6f 6e 65 | .'px').....Returns.default.(None |
0360 | 29 20 69 66 20 6e 6f 20 6d 61 74 63 68 20 63 61 6e 20 62 65 20 66 6f 75 6e 64 0a 20 20 20 20 72 | ).if.no.match.can.be.found.....r |
0380 | 01 00 00 00 e9 ff ff ff ff 4e 29 05 da 0a 42 4f 54 48 5f 4d 41 54 43 48 da 05 6d 61 74 63 68 da | .........N)...BOTH_MATCH..match. |
03a0 | 03 73 74 72 da 05 66 6c 6f 61 74 da 06 67 72 6f 75 70 73 29 04 da 05 76 61 6c 75 65 da 0c 64 65 | .str..float..groups)...value..de |
03c0 | 66 61 75 6c 74 5f 75 6e 69 74 da 0d 64 65 66 61 75 6c 74 5f 76 61 6c 75 65 da 03 72 65 74 a9 00 | fault_unit..default_value..ret.. |
03e0 | 72 1f 00 00 00 fa 2c 2f 68 6f 6d 65 2f 6d 63 2f 31 30 78 2f 73 68 61 72 65 2f 65 78 74 65 6e 73 | r.....,/home/mc/10x/share/extens |
0400 | 69 6f 6e 73 2f 69 6e 6b 65 78 2f 75 6e 69 74 73 2e 70 79 da 0a 70 61 72 73 65 5f 75 6e 69 74 3b | ions/inkex/units.py..parse_unit; |
0420 | 00 00 00 73 08 00 00 00 00 05 0e 01 04 01 20 01 72 21 00 00 00 e7 7b 14 ae 47 e1 7a 84 3f 63 03 | ...s............r!....{..G.z.?c. |
0440 | 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 03 00 00 00 43 00 00 00 73 22 00 00 00 7c 00 7c 01 | ...................C...s"...|.|. |
0460 | 18 00 7c 00 7c 02 14 00 6b 01 6f 20 7c 00 7c 01 18 00 7c 00 0b 00 7c 02 14 00 6b 05 53 00 29 01 | ..|.|...k.o.|.|...|...|...k.S.). |
0480 | 7a 29 52 65 74 75 72 6e 20 74 72 75 65 20 69 66 20 74 68 65 20 70 6f 69 6e 74 73 20 61 72 65 20 | z)Return.true.if.the.points.are. |
04a0 | 6e 65 61 72 20 74 6f 20 65 70 73 72 1f 00 00 00 29 03 5a 07 70 6f 69 6e 74 5f 61 5a 07 70 6f 69 | near.to.epsr....).Z.point_aZ.poi |
04c0 | 6e 74 5f 62 da 03 65 70 73 72 1f 00 00 00 72 1f 00 00 00 72 20 00 00 00 da 11 61 72 65 5f 6e 65 | nt_b..epsr....r....r......are_ne |
04e0 | 61 72 5f 72 65 6c 61 74 69 76 65 46 00 00 00 73 02 00 00 00 00 02 72 24 00 00 00 63 03 00 00 00 | ar_relativeF...s......r$...c.... |
0500 | 00 00 00 00 00 00 00 00 06 00 00 00 06 00 00 00 43 00 00 00 73 60 00 00 00 74 00 7c 00 64 01 64 | ................C...s`...t.|.d.d |
0520 | 02 8d 02 5c 02 7d 00 7d 03 7c 03 74 01 76 01 72 1c 7c 02 53 00 74 01 7c 03 19 00 7c 00 14 00 7c | ...\.}.}.|.t.v.r.|.S.t.|...|...| |
0540 | 01 1b 00 7d 04 74 01 a0 02 a1 00 44 00 5d 26 5c 02 7d 03 7d 05 7c 03 64 03 6b 03 72 34 74 03 7c | ...}.t.....D.]&\.}.}.|.d.k.r4t.| |
0560 | 04 7c 05 64 04 64 05 8d 03 72 34 7c 03 02 00 01 00 53 00 71 34 7c 02 53 00 29 06 7a 3a 41 74 74 | .|.d.d...r4|.....S.q4|.S.).z:Att |
0580 | 65 6d 70 74 20 74 6f 20 64 65 74 65 63 74 20 74 68 65 20 75 6e 69 74 20 62 65 69 6e 67 20 75 73 | empt.to.detect.the.unit.being.us |
05a0 | 65 64 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 76 69 65 77 62 6f 78 67 00 00 00 00 00 00 59 40 | ed.based.on.the.viewboxg......Y@ |
05c0 | a9 01 72 1d 00 00 00 72 0d 00 00 00 72 22 00 00 00 29 01 72 23 00 00 00 29 04 72 21 00 00 00 da | ..r....r....r"...).r#...).r!.... |
05e0 | 0b 43 4f 4e 56 45 52 53 49 4f 4e 53 da 05 69 74 65 6d 73 72 24 00 00 00 29 06 72 1b 00 00 00 5a | .CONVERSIONS..itemsr$...).r....Z |
0600 | 07 76 69 65 77 62 6f 78 da 07 64 65 66 61 75 6c 74 da 04 75 6e 69 74 5a 0b 74 68 69 73 5f 66 61 | .viewbox..default..unitZ.this_fa |
0620 | 63 74 6f 72 5a 0b 75 6e 69 74 5f 66 61 63 74 6f 72 72 1f 00 00 00 72 1f 00 00 00 72 20 00 00 00 | ctorZ.unit_factorr....r....r.... |
0640 | da 0d 64 69 73 63 6f 76 65 72 5f 75 6e 69 74 4b 00 00 00 73 12 00 00 00 00 03 10 01 08 01 04 01 | ..discover_unitK...s............ |
0660 | 10 03 10 01 08 02 0e 01 0a 01 72 2a 00 00 00 63 02 00 00 00 00 00 00 00 00 00 00 00 03 00 00 00 | ..........r*...c................ |
0680 | 06 00 00 00 43 00 00 00 73 40 00 00 00 74 00 7c 00 64 01 64 02 8d 02 5c 02 7d 00 7d 02 7c 02 74 | ....C...s@...t.|.d.d...\.}.}.|.t |
06a0 | 01 76 00 72 3c 7c 01 74 01 76 00 72 3c 7c 00 74 01 7c 02 19 00 14 00 74 01 a0 02 7c 01 74 01 64 | .v.r<|.t.v.r<|.t.|.....t...|.t.d |
06c0 | 03 19 00 a1 02 1b 00 53 00 64 01 53 00 29 04 7a 4a 52 65 74 75 72 6e 73 20 75 73 65 72 75 6e 69 | .......S.d.S.).zJReturns.useruni |
06e0 | 74 73 20 67 69 76 65 6e 20 61 20 73 74 72 69 6e 67 20 72 65 70 72 65 73 65 6e 74 61 74 69 6f 6e | ts.given.a.string.representation |
0700 | 20 6f 66 20 75 6e 69 74 73 20 69 6e 20 61 6e 6f 74 68 65 72 20 73 79 73 74 65 6d 67 00 00 00 00 | .of.units.in.another.systemg.... |
0720 | 00 00 00 00 72 25 00 00 00 72 04 00 00 00 29 03 72 21 00 00 00 72 26 00 00 00 da 03 67 65 74 29 | ....r%...r....).r!...r&.....get) |
0740 | 03 72 1b 00 00 00 5a 07 74 6f 5f 75 6e 69 74 5a 09 66 72 6f 6d 5f 75 6e 69 74 72 1f 00 00 00 72 | .r....Z.to_unitZ.from_unitr....r |
0760 | 1f 00 00 00 72 20 00 00 00 da 0c 63 6f 6e 76 65 72 74 5f 75 6e 69 74 5c 00 00 00 73 08 00 00 00 | ....r......convert_unit\...s.... |
0780 | 00 02 10 01 10 01 1c 01 72 2c 00 00 00 63 02 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 08 00 | ........r,...c.................. |
07a0 | 00 00 43 00 00 00 73 42 00 00 00 7a 28 74 00 7c 00 74 01 83 02 72 1c 74 02 7c 00 7c 01 64 01 8d | ..C...sB...z(t.|.t...r.t.|.|.d.. |
07c0 | 02 5c 02 7d 00 7d 01 64 02 a0 03 7c 00 7c 01 a1 02 57 00 53 00 04 00 74 04 79 3c 01 00 01 00 01 | .\.}.}.d...|.|...W.S...t.y<..... |
07e0 | 00 59 00 64 03 53 00 30 00 64 04 53 00 29 05 7a 2e 43 68 65 63 6b 73 20 61 6e 64 20 74 68 65 6e | .Y.d.S.0.d.S.).z.Checks.and.then |
0800 | 20 72 65 6e 64 65 72 73 20 61 20 6e 75 6d 62 65 72 20 77 69 74 68 20 69 74 73 20 75 6e 69 74 29 | .renders.a.number.with.its.unit) |
0820 | 01 72 1c 00 00 00 7a 0a 7b 3a 2e 36 67 7d 7b 3a 73 7d 72 0d 00 00 00 4e 29 05 da 0a 69 73 69 6e | .r....z.{:.6g}{:s}r....N)...isin |
0840 | 73 74 61 6e 63 65 72 18 00 00 00 72 21 00 00 00 da 06 66 6f 72 6d 61 74 da 09 54 79 70 65 45 72 | stancer....r!.....format..TypeEr |
0860 | 72 6f 72 29 02 72 1b 00 00 00 72 29 00 00 00 72 1f 00 00 00 72 1f 00 00 00 72 20 00 00 00 da 0b | ror).r....r)...r....r....r...... |
0880 | 72 65 6e 64 65 72 5f 75 6e 69 74 64 00 00 00 73 0c 00 00 00 00 02 02 01 0a 01 10 01 0e 01 0c 01 | render_unitd...s................ |
08a0 | 72 30 00 00 00 29 02 72 04 00 00 00 4e 29 01 72 22 00 00 00 29 01 72 04 00 00 00 29 10 da 07 5f | r0...).r....N).r"...).r....)..._ |
08c0 | 5f 64 6f 63 5f 5f da 02 72 65 72 26 00 00 00 5a 05 55 4e 49 54 53 da 07 63 6f 6d 70 69 6c 65 72 | _doc__..rer&...Z.UNITS..compiler |
08e0 | 2e 00 00 00 da 04 6a 6f 69 6e 5a 0a 55 4e 49 54 5f 4d 41 54 43 48 5a 0c 4e 55 4d 42 45 52 5f 4d | ......joinZ.UNIT_MATCHZ.NUMBER_M |
0900 | 41 54 43 48 da 07 70 61 74 74 65 72 6e 72 16 00 00 00 72 21 00 00 00 72 24 00 00 00 72 2a 00 00 | ATCH..patternr....r!...r$...r*.. |
0920 | 00 72 2c 00 00 00 72 30 00 00 00 72 1f 00 00 00 72 1f 00 00 00 72 1f 00 00 00 72 20 00 00 00 da | .r,...r0...r....r....r....r..... |
0940 | 08 3c 6d 6f 64 75 6c 65 3e 18 00 00 00 73 2e 00 00 00 04 04 08 04 02 01 02 01 02 01 02 01 02 01 | .<module>....s.................. |
0960 | 02 01 02 01 02 01 02 01 02 01 02 01 02 f4 06 12 08 05 16 01 0a 01 16 03 0a 0b 0a 05 0a 11 08 08 | ................................ |