yeah - sorry forgot about that. Its more elegant than a script-based solution.

Andreas

Bruce Rindahl wrote:
Another approach is to use a % value in the stroke-width attribute of the
SVG.  For example, if you specify stroke-width="0.01%" then the line width
will always be the viewBox width * 0.0001 and will resize when ever the view
box changes.
Bruce Rindahl

yes, you could listen to eventlisteners: e.g. SVGZoom and/or SVGResize and
adopt the stroke-width using the DOM and scripting or Java. It would help
if you centrally specify the stroke-width (e.g. in a parent group) in your
original SVG and not for each element. That way you only have to change
the stroke-width once.

Andreas


Hello!

I have loaded a Worldmap (in SVG Format) into a JSVGCanvas.
The map has transparent background and black contour of the Continents.

Is it possible to decrease the thickness of the contour with Batik?
Because
i need it to make the contour-thickness thin when i zoom in






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


--

--
Andreas Neumann
Böschacherstrasse 6
CH-8624 Grüt (Gossau ZH)
Switzerland
Phone: ++41-44-2736668
Email: [EMAIL PROTECTED]

Web: http://www.carto.net/neumann/
SVG Examples: http://www.carto.net/papers/svg/samples/
SVG.Open: http://www.svgopen.org/

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

Reply via email to