From 3d195dff75c3f99a647d7e0d995e91648fd85db3 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Sat, 28 Feb 2009 22:19:20 +0000 Subject: reorg of SVGs --- (limited to 'svg/pop.py') diff --git a/svg/pop.py b/svg/pop.py index 989b661..2a5f688 100644 --- a/svg/pop.py +++ b/svg/pop.py @@ -30,7 +30,7 @@ def main(): myname = "pop" mystring = "pop" - mygroup = "myblocks" + mygroup = "sensors" if len(sys.argv) != 2: print "Error: Usage is " + myname + ".py lang" @@ -41,49 +41,56 @@ def main(): t.install() print _(mystring) - data0 = \ " \n \ + \n \ \n \ - \n \ + height=\"21\" \n \ + id=\"svg2\"> \n \ + \n \ \n \ \n \ + id=\"stop3168\" \n \ + style=\"stop-color:#ffffff;stop-opacity:1\" \n \ + offset=\"0\" /> \n \ \n \ + id=\"stop3170\" \n \ + style=\"stop-color:#ff0000;stop-opacity:1\" \n \ + offset=\"1\" /> \n \ \n \ \n \ \n \ \n \ + d=\"M 1,0.5 L 6,0.5 L 6,4.5 L 13,4.5 L 13,0.5 L 104.5,0.5 L 104.5,20.5 L 13,20.5 L 13,16.5 L 6,16.5 L 6,20.5 L 1,20.5 L 1,0.5 z\" \n \ + id=\"path10\" \n \ + style=\"fill:url(#linearGradient3172);fill-opacity:1;stroke:#a00000;stroke-width:2;stroke-opacity:1\" /> \n \ \n \ + id=\"text12\" \n \ + style=\"font-size:12px;text-align:center;text-anchor:middle;font-family:Bitstream Vera Sans\"> \n \ " data1 = \ " \n \ \n \ - \n " + \n" FILE = open(os.path.join("../images", sys.argv[1], mygroup, myname + ".svg"), "w") -- cgit v0.9.1