SmtC: Show me the Code
Ole Peter Smith
Instituto de Matemática e Estatística
Universidade Federal de Goiás
http://www.olesmith.com.br

SVG
Somos todos Condenados à Liberdade
Jean Paul Sartre
< Polyline | Group | Use >

SVG:

SVG Listing: Group.svg.
<g id="house" style="fill: none; stroke: black;">
   <desc>House with door</desc>
   <rect x="6" y="50" width="60" height="60"/>
   <polyline points="6,50 36,9 66,50"/>
   <polyline points="36,110 36,80 50,80 50,110"/>
</g>

Python:

Python Listing: Group.py.
    def SVG_Group(self,group,svg,description,options={}):
        roptions=dict(options)

        roptions[ "id" ]=group
        
        return self.SVG_Tags(
            "group",
            self.SVG_Tags("desc",description)+svg,
            roptions
< Polyline | Group | Use >
Messages:
0 secs.