xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DeWeese Thomas <thomas.dewe...@gmail.com>
Subject Re: drawImage method for images in svg format
Date Sat, 10 Nov 2012 13:28:09 GMT
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 <ard_hoffman@yahoo.com> 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: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message