Re: Drawing a line in SMIL

Cameron McCormack <[email protected]>
Newsgroups gmane.comp.web.smil
Message-ID <[email protected]>
Hi Roger.

Roger Chapman:
> I'm still learning SMIL, so I apologize if this is a naive question,
> but is it possible to animate drawing a line in SMIL?

In a SMIL document, I’m not sure.  But in an SVG document, yes, for
example:

  <svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">
    <line x1="50" y1="50" x2="150" y2="150">
      <animate attributeName="y1" to="150" begin="0s" dur="2s"/>
      <animate attributeName="y2" to="50" begin="0s" dur="2s"/>
    </line>
  </svg>

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:[email protected]  ▪  ICQ 26955922  ▪  MSN [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.