>>>>> "RH" == Rikard Herlitz <[EMAIL PROTECTED]> writes:

RH> I need to do the opposite of what the svggenerator does.  I need
RH> to translate svt into java2d operations and write them to a
RH> file...  It should be quite easy given that the svgviewer does
RH> that already, but I don't know where I can hook in on the java2d
RH> calls to print them out?

RH> Any hints??

    Write your own subclass of Graphics2D that for each method print's
the parameters rather than doing the drawing.  But I have no idea what
you are going to do with that once you have done it (i.e. you must
have some sort of target format or something?).  Also it's not clear
how you would support everything (like drawImage for example).

    Good luck...

RH> /Rikard Herlitz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to