Re: drawImage method for images in svg format

DeWeese Thomas <[email protected]>
Newsgroups gmane.text.xml.batik.user
Message-ID <[email protected]>
I would create a top-level document and reference the other documents with the 
SVG 'image' element.  The other documents will (assuming they have viewBox 
information) be scaled appropriately to the x/y/width/height on the image element.

Thomas

On Nov 9, 2012, at 3:54 PM, ard <[email protected]> wrote:

> Just discovered this nice resource. Although still reading through the posts
> here, thought I'd post my question anyway.
> 
> I'm interested in rendering images from multiple svg files simultaneously at
> certain locations/scalings on the screen.
> 
> Is there an easy way to draw the contents of multiple svg files in Rectangles
> (x,y,width,height) in the coordinates of a JSVGCanvas or JSVGViewerFrame? I have
> in mind something similar to the Graphics2D method drawImage(image, x, y, w, h,
> imageobserver).
> 
> Or is it necessary to use a new JSVGCanvas as a component of the main JFrame
> window for each small image rendered on the screen from a file?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [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.