Grinvald, Edward wrote:


I am trying to use batik's fascilities for parsing and rendering on a graphic platform other then awt/swing. In other words, i would like to use everything in the JSVGCanvas, up to the point of actually putting the shapes onto a Swing container. Instead, i'd like to have shapes expressed differently (let's say something like to a file for ASCII art or something). Where would be the best place for me to "cut" in and "redirect" the drawing of a shape from swing to elsewhere.

Well there exists Transcoders which go to things like JPEG/PNG. These render to an offscreen image (a large array of ints one for each pixel). This would be an excellent source of data for generating some forms of ASCII art. However this still uses java.awt - but I suspect you are referring to the GUI display parts of awt.



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



Reply via email to