Take a look at http://srufaculty.sru.edu/david.dailey/svg/SMILorJavaScript.svg
it's being done in three different ways here.

cheers
David
  ----- Original Message ----- 
  From: JOHN KIRBY 
  To: [email protected] 
  Sent: Tuesday, August 26, 2008 10:13 AM
  Subject: [svg-developers] Newbie:Accessing Image Element


  I have created a svg gauge image comprised of two images; the 
  "background" gauge and the "foreground" needle. I want to at runtime 
  be able to rotate the needle based upon data passed to it.

  Below is an example of the needle image element snippet

  <image transform="translate(95,0) rotate(-20,30,125)" 
  overflow="visible" enable-background="new " width="58" height="250" 
  xlink:href="data:image/png;base64, .......

  I could use brute force by XSLT on the svg and repaint the canvas. I 
  assume there is a more eloquent programatic way in batik by getting a 
  reference to the image element, perform the the rotate and do a repaint?

  Example would be greatly appreciated :-)

  .j


   

[Non-text portions of this message have been removed]


------------------------------------

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to