summaryrefslogtreecommitdiffstats
path: root/share/extensions/inkex/tester/__pycache__/svg.cpython-39.pyc
blob: 439198fd395830dfa1451d659e873ac81e15489d (plain)
ofshex dumpascii
0000 61 0d 0d 0a 00 00 00 00 ec 85 01 60 81 06 00 00 e3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a..........`....................
0020 00 03 00 00 00 40 00 00 00 73 3a 00 00 00 64 00 5a 00 64 01 64 02 6c 01 6d 02 5a 02 01 00 64 01 .....@...s:...d.Z.d.d.l.m.Z...d.
0040 64 03 6c 03 6d 04 5a 04 01 00 64 0c 64 05 64 06 84 01 5a 05 64 07 64 08 84 00 5a 06 64 09 64 0a d.l.m.Z...d.d.d...Z.d.d...Z.d.d.
0060 84 00 5a 07 64 0b 53 00 29 0d 7a 23 0a 53 56 47 20 73 70 65 63 69 66 69 63 20 75 74 69 6c 69 74 ..Z.d.S.).z#.SVG.specific.utilit
0080 69 65 73 20 66 6f 72 20 74 65 73 74 73 2e 0a e9 00 00 00 00 29 01 da 05 65 74 72 65 65 29 01 da ies.for.tests.......)...etree)..
00a0 0a 53 56 47 5f 50 41 52 53 45 52 da 00 63 01 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 06 00 .SVG_PARSER..c..................
00c0 00 00 43 00 00 00 73 1a 00 00 00 74 00 6a 01 74 02 a0 03 64 01 a0 04 7c 00 a1 01 a1 01 74 05 64 ..C...s....t.j.t...d...|.....t.d
00e0 02 8d 02 53 00 29 03 7a ae 52 65 74 75 72 6e 73 20 78 6d 6c 20 65 74 72 65 65 20 62 61 73 65 64 ...S.).z.Returns.xml.etree.based
0100 20 6f 6e 20 61 20 73 69 6d 70 6c 65 20 53 56 47 20 65 6c 65 6d 65 6e 74 2e 0a 0a 20 20 20 20 20 .on.a.simple.SVG.element........
0120 20 20 73 76 67 5f 61 74 74 72 73 3a 20 41 20 73 74 72 69 6e 67 20 63 6f 6e 74 61 69 6e 69 6e 67 ..svg_attrs:.A.string.containing
0140 20 61 74 74 72 69 62 75 74 65 73 20 74 6f 20 61 64 64 20 74 6f 20 74 68 65 0a 20 20 20 20 20 20 .attributes.to.add.to.the.......
0160 20 20 20 20 20 72 6f 6f 74 20 3c 73 76 67 3e 20 65 6c 65 6d 65 6e 74 20 6f 66 20 61 20 6d 69 6e .....root.<svg>.element.of.a.min
0180 69 6d 61 6c 20 53 56 47 20 64 6f 63 75 6d 65 6e 74 2e 0a 20 20 20 20 7a 44 3c 3f 78 6d 6c 20 76 imal.SVG.document......zD<?xml.v
01a0 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d 22 55 54 46 2d 38 22 20 73 74 ersion="1.0".encoding="UTF-8".st
01c0 61 6e 64 61 6c 6f 6e 65 3d 22 6e 6f 22 3f 3e 3c 73 76 67 20 7b 7d 3e 3c 2f 73 76 67 3e a9 01 da andalone="no"?><svg.{}></svg>...
01e0 06 70 61 72 73 65 72 29 06 72 02 00 00 00 da 0a 66 72 6f 6d 73 74 72 69 6e 67 da 03 73 74 72 da .parser).r......fromstring..str.
0200 06 65 6e 63 6f 64 65 da 06 66 6f 72 6d 61 74 72 03 00 00 00 29 01 5a 09 73 76 67 5f 61 74 74 72 .encode..formatr....).Z.svg_attr
0220 73 a9 00 72 0b 00 00 00 fa 31 2f 68 6f 6d 65 2f 6d 63 2f 31 30 78 2f 73 68 61 72 65 2f 65 78 74 s..r.....1/home/mc/10x/share/ext
0240 65 6e 73 69 6f 6e 73 2f 69 6e 6b 65 78 2f 74 65 73 74 65 72 2f 73 76 67 2e 70 79 da 03 73 76 67 ensions/inkex/tester/svg.py..svg
0260 1b 00 00 00 73 0e 00 00 00 00 06 08 01 04 01 02 ff 02 ff 02 02 02 fe 72 0d 00 00 00 63 01 00 00 ....s..................r....c...
0280 00 00 00 00 00 00 00 00 00 01 00 00 00 04 00 00 00 43 00 00 00 73 0e 00 00 00 74 00 64 01 a0 01 .................C...s....t.d...
02a0 7c 00 a1 01 83 01 53 00 29 02 7a 87 53 61 6d 65 20 61 73 20 73 76 67 2c 20 62 75 74 20 74 61 6b |.....S.).z.Same.as.svg,.but.tak
02c0 65 73 20 61 20 75 73 65 72 20 75 6e 69 74 20 66 6f 72 20 74 68 65 20 6e 65 77 20 64 6f 63 75 6d es.a.user.unit.for.the.new.docum
02e0 65 6e 74 2e 0a 0a 20 20 20 20 49 74 27 73 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 72 61 74 69 ent.......It's.based.on.the.rati
0300 6f 20 62 65 74 77 65 65 6e 20 74 68 65 20 53 56 47 20 77 69 64 74 68 20 61 6e 64 20 74 68 65 20 o.between.the.SVG.width.and.the.
0320 76 69 65 77 42 6f 78 20 77 69 64 74 68 2e 0a 20 20 20 20 7a 1d 77 69 64 74 68 3d 22 31 7b 7d 22 viewBox.width......z.width="1{}"
0340 20 76 69 65 77 42 6f 78 3d 22 30 20 30 20 31 20 31 22 29 02 72 0d 00 00 00 72 0a 00 00 00 29 01 .viewBox="0.0.1.1").r....r....).
0360 5a 09 75 73 65 72 5f 75 6e 69 74 72 0b 00 00 00 72 0b 00 00 00 72 0c 00 00 00 da 06 75 75 5f 73 Z.user_unitr....r....r......uu_s
0380 76 67 26 00 00 00 73 02 00 00 00 00 05 72 0e 00 00 00 63 01 00 00 00 00 00 00 00 00 00 00 00 03 vg&...s......r....c.............
03a0 00 00 00 08 00 00 00 43 00 00 00 73 44 00 00 00 74 00 7c 00 64 01 83 02 8f 26 7d 01 74 01 6a 02 .......C...sD...t.|.d....&}.t.j.
03c0 7c 01 74 03 64 02 8d 02 7d 02 7c 02 a0 04 a1 00 57 00 02 00 64 03 04 00 04 00 83 03 01 00 53 00 |.t.d...}.|.....W...d.........S.
03e0 31 00 73 36 30 00 01 00 01 00 01 00 59 00 01 00 64 03 53 00 29 04 7a 2f 50 61 72 73 65 20 61 6e 1.s60.......Y...d.S.).z/Parse.an
0400 20 73 76 67 20 66 69 6c 65 20 61 6e 64 20 72 65 74 75 72 6e 20 69 74 27 73 20 64 6f 63 75 6d 65 .svg.file.and.return.it's.docume
0420 6e 74 20 72 6f 6f 74 da 01 72 72 05 00 00 00 4e 29 05 da 04 6f 70 65 6e 72 02 00 00 00 da 05 70 nt.root..rr....N)...openr......p
0440 61 72 73 65 72 03 00 00 00 da 07 67 65 74 72 6f 6f 74 29 03 da 08 66 69 6c 65 6e 61 6d 65 da 03 arser......getroot)...filename..
0460 66 68 6c da 03 64 6f 63 72 0b 00 00 00 72 0b 00 00 00 72 0c 00 00 00 da 08 73 76 67 5f 66 69 6c fhl..docr....r....r......svg_fil
0480 65 2d 00 00 00 73 06 00 00 00 00 02 0c 01 0e 01 72 16 00 00 00 4e 29 01 72 04 00 00 00 29 08 da e-...s..........r....N).r....)..
04a0 07 5f 5f 64 6f 63 5f 5f da 04 6c 78 6d 6c 72 02 00 00 00 da 05 69 6e 6b 65 78 72 03 00 00 00 72 .__doc__..lxmlr......inkexr....r
04c0 0d 00 00 00 72 0e 00 00 00 72 16 00 00 00 72 0b 00 00 00 72 0b 00 00 00 72 0b 00 00 00 72 0c 00 ....r....r....r....r....r....r..
04e0 00 00 da 08 3c 6d 6f 64 75 6c 65 3e 13 00 00 00 73 0a 00 00 00 04 04 0c 02 0c 02 0a 0b 08 07 ....<module>....s..............