Thanks for the answer Thomas.
Could you give me some resources/examples links to study?
I don't know to implement this with Batik.








thomas.deweese wrote:
> 
> Hi 
> 
> mistercaste <misterca...@gmail.com> wrote on 03/09/2010 10:30:18 AM:
> 
>> I'm writing a map system for a GIS and the roads should have always the 
> same
>> size, independently by the zoom level applied. Actually when I zoom-in 
> the
>> stroke gets bigger proportionally to the zoom level applied, so at a 
> certain
>> level the whole screen is occupied by the line on which I zoomed over.
> 
>    You can do this by catching the svg 'onzoom' event and updating the
> stroke-width for your line elements.  Updating the stroke is easiest
> if all the lines with the same width are in the same group.
> 
>> However the stroke invariant shouldn't be applied to every element in my 
> SVG
>> document, because there are also other elements which I need to treat
>> differently.
> 
>    Sure you get to pick what elements you update the stroke-width on.
> In later versions of the spec there are easier ways to do this.
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Stroke-size-tp27837302p27874122.html
Sent from the Batik - Users mailing list archive at Nabble.com.


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

Reply via email to