Wade Thanks!.

I forgot to mention this was a Batik/swing application.  So what I did  
is use DOM manipulation to replace the transform attribute in the SVG.

On Sep 1, 2008, at 8:49 AM, G. Wade Johnson wrote:

> On Tue, 26 Aug 2008 08:13:25 -0600
> JOHN KIRBY <[EMAIL PROTECTED]> wrote:
>
> > 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
>
> Take a look at the instrumentation demo I did a few years ago. It has
> some JavaScript for animating several different kinds of
> instrumentation.
>
> http://anomaly.org/wade/projects/instruments/index.html
>
> A free running demo is shown at
>
> http://anomaly.org/wade/projects/instruments/Instruments.svg
>
> G. Wade
>
> > <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
>
> -- 
> "I can only conclude that I'm paying off karma at a vastly accelerated
> rate." -- Ivanova, "Points of Departure"
>
> 



[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