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
Whom takes fun only as fun.
And serious only seriously.
Misunderstood both.
Piet Hein

SVG:

SVG Listing: Line.svg.
<line x1="40" y1="20" x2="80" y2="20" style="stroke: black;" />

Python:

Python Listing: Line.py.
    def SVG_Line(self,pt1,pt2,options={}):
        roptions=dict(options)
        
        roptions[ "x1" ]=pt1[0]
        roptions[ "y1" ]=pt1[1]
        
        roptions[ "x2" ]=pt2[0]
        roptions[ "y2" ]=pt2[1]
        
        return self.SVG_Tag("line",roptions)
Messages:
0 secs.