[svg-developers] Re: Viewbox question: show only "lower" half: difference between symbol and g

2011-02-06 Thread Robert Longson
The problems is in the use of the . If I use a the viewbox displays correctly. > > The question is why the behaves differently than a ? > New svg: The difference is because symbol establishes a new viewport but g does not per http://www.w3.org/TR/SVG/coords.html#EstablishingANewViewport Best

[svg-developers] Re: Viewbox question: show only "lower" half: difference between symbol and g

2011-02-06 Thread Arjen
The problems is in the use of the . If I use a the viewbox displays correctly. The question is why the behaves differently than a ? New svg: http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; xmlns:ev="http://www.w3.org/2001/xml-events"; height="100%" width="100%"

[svg-developers] Re: ViewBox Question

2005-03-01 Thread Aashish Singhvi
TYPO: svgroot.getElementById in my message should be svgroot.getAttribute and parseInt could be parseFloat depending on the precision of your co-ordinate system. -Aashish --- In svg-developers@yahoogroups.com, "Aashish Singhvi" <[EMAIL PROTECTED]> wrote: > > re: "what viewbox values are act

[svg-developers] Re: ViewBox Question

2005-03-01 Thread Aashish Singhvi
re: "what viewbox values are actually used by svg > when you don't set the viewbox," If you don't specify the viewBox attribute, it would work like specifying viewBox="0 0 0 0". However, width=0 and height=0 do not make sense. So the SVG Viewer renders with 100% of width and height of the sv

RE: [svg-developers] Re: ViewBox Question

2005-03-01 Thread Chris Peto
Resource Kit SVG site: http://www.schemasoft.org/svg/main.svg HTML site: http://www.schemasoft.org/ -Original Message- From: Jan [mailto:[EMAIL PROTECTED] Sent: Dienstag, 1. März 2005 16:11 To: svg-developers@yahoogroups.com Subject: [svg-developers] Re: ViewBox Question I'm tryin

[svg-developers] Re: ViewBox Question

2005-03-01 Thread Jan
I'm trying to incorporate my svg map app into another app that already exists. The already existing app already has zoom controls and a dropdown box that I would like to use and it works if I use the default viewbox (i.e. no viewbox values set). However, if I set a viewbox, the zoom control