Re: [svg-developers] Re: Cannot get Firefox w/ Native SVG to work
On Wed, 23 Feb 2005 17:07:20 -, Jan [EMAIL PROTECTED] wrote: --- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote: - first, since Feb 21, they introduce an option to enable/disable SVG and it is disable by default (check http://weblogs.mozillazine.org/tor/archives/2005/02/important_svg_b.ht ml) Yes, this is an important announcement, and it's probably the reason. Be sure to read it if you're using Mozilla Suite/Mozilla Firefox with native SVG support built in. I set the svg.enabled preference and that made a difference, however, now I'm getting my svg code displayed instead of my svg image. I know I read somewhere that someone else had that same problem, but can't remember what the fix was for that. Can anyone help? Read: http://www.mozilla.org/projects/svg/faq.html#source and also check whether the version you downloaded works with: http://jwatt.org/moz/circles1.svgz since I know that should work in Moz. I suspect that you were testing by trying to view SVG files from a misconfigures server, but if that doesn't work let me know. Check out the rest of the FAQ since that might answer some of the questions you don't even realise you have yet. -Jonathan - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Viewbox Values - Map App - HELP!!
Jan, I've pointed you to the map navigation tutorial (http://www.carto.net/papers/svg/ navigationTools/) where exactly your case is explained. Please read it carefully to have your question answered. In case the tutorial is unclear or missing some bits, please tell me where I can improve it. As to the coordinate system within the viewBox: you should use the coordinate system your GIS data is stored in. If you have meters as units than use directly those meters. If you have degrees than use these degrees, if you have hundredth's of degrees (your case) than that is the inner coordinate system within your viewBox. Let's assume you use a maximum map extent of 10 by 10 degrees with an offset of -120°W and 50°N, than your viewBox should be defined as -120 -50 10 10 to display all of your map data. If you reduce your viewBox in width or height or move the offset than you'll see just a portion of your data. Please note the minus sign infront of your y coordinates. This is because SVG has an inverted y-axis if you compare it with a map coordinate system. As a result you should multiply all y-values with -1. Alternatively you could add a matrixTransform, but this has the disadvantage that it also inverts your text elements, if any. Hope this helps, if you have any suggestions on how I can improve the above tutorial, please let me know. Andreas --- In svg-developers@yahoogroups.com, Jan [EMAIL PROTECTED] wrote: I have a map application that currently works. It is written using html, php, Javascript, and svg. It has two embedded svg map elements within the html separately. Both maps are using the default viewbox values as follows (I don't specifically set the viewbox): Embedded SVG Map 1: svg width='100%' height='100%' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:a3='http://ns.adobe.com/AdobeSVGViewerExtenxions/3.0/' a3:scriptImplementation='Adobe' onload='loadingFinished()' zoomAndPan='disable' onzoom='zoomEvent()' onscroll='zoomEvent()' Embedded SVG Map 2: svg width='100%' height='100%' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:a3='http://ns.adobe.com/AdobeSVGViewerExtenxions/3.0/' a3:scriptImplementation='Adobe' onload='loadingFinished()' zoomAndPan='disable' I am trying to re-do my app so that I only have svg embedded into the html only once and have svg embedded within svg (one map within the other). In order to do this, I believe I have to set the viewboxes appropriately for each, but I have no idea how to do this. I've been trying to change the viewbox value for Map 1, but cannot get it to display to save my life. This is what I have now: svg width='100%' height='100%' viewBox=0 0 600 680 xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:a3='http://ns.adobe.com/AdobeSVGViewerExtenxions/3.0/' a3:scriptImplementation='Adobe' zoomAndPan='disable' onload='loadingFinished()' rect x=0 y=0 width=600 height=680 stroke=none fill=aliceblue/ svg id=map1view x=0 y=15 viewBox=0 0 600 680 width=600 height=680 onzoom='zoomEvent()' onscroll='zoomEvent()' g transform='scale(0.012)' id='map' . . . /g /svg /svg I thought I had to set the viewbox values somehow to correlate with my map coordinates (I'm using hundredth's of degrees), but when I tried that, it didn't work either and I feel like I'm just taking wild guesses as to which values to use. How do you do this? What do the x and y values of the viewbox correspond to? I'm having a hard time understanding how to set a viewbox and I've read some manuals and other info with no luck. With the code above, it looks like a very small portion of the map is displaying within the window. Please help!! Jan - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Viewbox Values - Map App - HELP!!
Hi Jan, First of all, here the SVG struture I would advice you to use: svg id=bigSVG width='100%' height='100%' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:a3='http://ns.adobe.com/AdobeSVGViewerExtenxions/3.0/' a3:scriptImplementation='Adobe' onload='loadingFinished()' zoomAndPan='disable' viewbox=0 0 1024 768 svg id=map1 onzoom='zoomEvent()' onscroll='zoomEvent()' x=20 y=50 height=500 width=600 viewbox=-20 -30 70 150 g rect id=rect1x=40 y=70 height=50 width=50/ ... /g /svg svg id=map2 onzoom='zoomEvent()' onscroll='zoomEvent()' x=200 y=500 height=50 width=60 viewbox=-200 -300 700 1500 g rect id=rect2 x=400 y=700 height=500 width=500/ ... /g /svg /svg x, y, width and height of a SVG define the rect in which the SVG will be dran viewbox define the new coordonates system for all the childs of this SVG by defining new coordonates for the corners of the same rect. You specify the differents coordonates of the same point in two différents coordonates systems What does it mean? Be careful of the coordonates system used to define the objects positions === position of bigSVG - the upper-left corner of bigSVG is at (0,0) (implied) of the userscreen of the browser . - big SVG takes all the place it can (height=100% width=100%). bigSVG coordonates system - - the upper-left corner of bigSVG is also (0,0) in bigSVG coordonates system - the bottom-right corner of bigSVG is also (0+1024, 0+768) in bigSVG coordonates system Position of map1 -- - the upper-left corner of map1 is (20,50) in bigSVG coordonate system (remember that bigSVG goes from (0,0) to (1048,768) ) - the bottom-right corner of map1 is (20+600, 50+500) in bigSVG coordonate system map1 coordonates system --- - the upper-left corner of map1 is also (-20,-30) in map1 coordonates system - the bottom-right corner of map1 is also (-20+70, -30+150) in map1 coordonates system Position of the first rect - - the upper-left corner of map1 is also (40,70 in MAP1 coordonates system - the bottom-right corner of map1 is also (40+50, 70+50) in MAP1 coordonates system Position of map2 -- - the upper-left corner of map2 is (200,500) in bigSVG coordonate system (remember that bigSVG goes from (0,0) to (1048,768) ) - the bottom-right corner of map2 is (200+60, 500+50) in bigSVG coordonate system map2 coordonates system --- - the upper-left corner of map2 is also (-200,-300) in map2 coordonates system - the bottom-right corner of map2 is also (-200+700, -300+1500) in map2 coordonates system Position of the second rect - - the upper-left corner of rect2 is also (400,700) in MAP2 coordonates system - the bottom-right corner of rect2 is also (400+500, 700+500) in MAP2 coordonates system So, to know the absoluteposition of an object, you must start by calculating the relative position of the upper-left corner of the rect comparing with the upper-left corner of its closer SVG-parent then the position of the upper-left corner of this SVG comparing with its closer SVG-parent and so. But be careful also that from one SVG to its SVG child, you can specify translation, but also y-scale and y-scale I hope it helps Jérôme Tricand de la Goutte Société Logatique 50 rue Marcel Dassault 92100 Boulogne-Billancourt 01 46 21 59 59 Jan wrote: I have a map application that currently works. It is written using html, php, Javascript, and svg. It has two embedded svg map elements within the html separately. Both maps are using the default viewbox values as follows (I don't specifically set the viewbox): Embedded SVG Map 1: svg width='100%' height='100%' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:a3='http://ns.adobe.com/AdobeSVGViewerExtenxions/3.0/' a3:scriptImplementation='Adobe' onload='loadingFinished()' zoomAndPan='disable' onzoom='zoomEvent()' onscroll='zoomEvent()' Embedded SVG Map 2: svg width='100%' height='100%' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:a3='http://ns.adobe.com/AdobeSVGViewerExtenxions/3.0/' a3:scriptImplementation='Adobe' onload='loadingFinished()' zoomAndPan='disable' I am trying to re-do my app so that I only have svg embedded into the html only once and have svg embedded within svg (one map within the other). In order to do this, I believe I have to set the viewboxes appropriately for each, but I have no idea how to do this. I've been trying to change the viewbox value for Map 1, but cannot get it to display to save my life. This is what I have now: svg width='100%' height='100%' viewBox=0 0 600 680 xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:a3='http://ns.adobe.com/AdobeSVGViewerExtenxions/3.0/'
[svg-developers] Re: Update Project What do you think about
Hello Burkhard, if you're looking for comments or assessment, a short description what's it all about would be expedient ;-). Hmm, I cannot find no graphs. There are tables and form widgets whilst no compelling svg logic? Why do you think svg does a better job than dhtml, iframes, divs, etc. concerning your gui? Viele Grüsse! Paul --- In svg-developers@yahoogroups.com, Burkhard Stollenwerk [EMAIL PROTECTED] wrote: Hello, Could you have a look at my project. What do you think about? www.futurefarm.de/ http://futurefarm.de/kuh2005/svgkuh.svg Burkhard Stollenwerk [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Possibaly a bug in ASV 3.0 (getBBox problem on horizontal or vertical line)
I am using get getBBox() method to get the bounding box of the line. I have observed one very strange issue which is only there when a horizontal or vertical line is enclosed in a group. When i get the bounding rect and get its height or other properties they give very large numbers like 3.399521443642e+38 or -3.399521443642e+38 Below is the line for which i want to get the bounding box. g id=abcd line id=abcds x1=151 y1=195 x2=373 y2=195 style=stroke:black;stroke-width:1;fill:blue;/ /g Now if i remove the line from the group everything works fine except that the height is now 0. (zero) (in case of vertical line width will be zero) This is only when line is horizontal or vertical, in case the line is slightly tilted at some angle the bounding box returned by getBBox method is just fine. I m using IE6 with ASV 3.02 on win2k. CODE : --- var oDoc = document.embeds[0].getSVGDocument(); // get document var oG = oDoc.getElementById(abcd); // get the group containing the line var c = oG.getBBox(); alert(c.x); alert(c.y); alert(c.width); alert(c.height); Regards Faisal Javeed INTECH Process Automation Pvt. Ltd. 119-B Tech Society Lahore-54590, Pakistan Cell: 03334241582 Voice: +92 42 5427001 (3 lines) Fax: +92 42 5411724 Web: www.intechww.com [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] Delete an element.
Hi Of course you can :) use nodeYouWantToRemove.parentNode.removeChild(nodeYouWantToRemove) Jérôme Tricand de la Goutte Société Logatique 50 rue Marcel Dassault 92100 Boulogne-Billancourt 01 46 21 59 59 ztij0 wrote: Hi All, I am pretty new to SVG. I would like to know is there a method by which we can delete elements using javascript. I have created elements in the SVG file using javascript. Is there a way by which these created elements can be deleted. This is how I created the elements. var svgns = 'http://www.w3.org/2000/svg'; SVGDocument = evt.getTarget().getOwnerDocument(); var newText = SVGDocument.createElementNS(svgns, 'text'); newText.setAttributeNS(null, 'x', 10); newText.setAttributeNS(null,'y', 20); newText.setAttributeNS(null,'id', Panel); var labelText = SVGDocument.createTextNode('Test Data'); newText.appendChild(labelText); var varLink = SVGDocument.getElementById('varLink'); varLink.appendChild(newText); Thanks in Advance - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Checking for browser compatibility using Javascript
Thanks for the solutions. I am looking out for the javascript which will check out the svg compatibility to be incorporated in the html. Thanks in advance. --- In svg-developers@yahoogroups.com, J�r�me Tricand de la Goutte [EMAIL PROTECTED] wrote: Hi, I'm afraid you can't do directly what you want : if you wantthat the check is done in the SVG, that imply that the browser can interpret the SVG, so it must be compatible. If the browser isnot, it can't interpret SVG, so it can't do the check. But, you can do something else: your first page should be an HTML page, calling for an embed small SVG. This small SVG should have an onload event, calling for the big one, and closing the first window. If the browser isn't compatible with SVG, it won't fir the onload event, and you will stay on the HTML page on which there can be an error message If the browser is compatible, you will end shorlty with your SVG. You could either start a timeout before displaying the error message on the first page, if you're afraid that some people could read the message while your big SVG is loading. Hope it helps J�r�me Tricand de la Goutte Soci�t� Logatique 50 rue Marcel Dassault 92100 Boulogne-Billancourt 01 46 21 59 59 ztij0 wrote: Hi All, I have created an SVG file which uses javascript also include interactivity. Is there a way by which I can check the browser is compatible for SVG using javascript that is used in the main SVG file? If yes the main SVG file will be displayed or else they will be given a message saying their browser is not compatible. Thanks in Advance - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] opentype to truetype converter
Hi all, I have a Opentype font that I would like to convert to SVG glyphs for use in a svg mapping application. I only have a truetype to svg glyph converter (Batik). Does someone have a opentype to truetype converter? If yes, would it be possible that i'd send you my font for conversion? Thanks and all the best, Andreas - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Change Scale in zooming
You may have to programmatically transform the object each time your zoom level changes using transform='scale(scaleValue)' using a different scaleValue for each zoom level. I'm new to svg, so just offering my initial idea on this, but there may be a better way. Jan --- In svg-developers@yahoogroups.com, raghu raman [EMAIL PROTECTED] wrote: Hi, I have a line with arrrow head. I draw an arrow head using marker. I don't like to change the scale of the arrow head in zoom in and zoom out. I have no idea how to implement this functionality. let know your solution please Thanks Raghu - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: opentype to truetype converter
--- In svg-developers@yahoogroups.com, Andreas Neumann [EMAIL PROTECTED] wrote: Hi all, I have a Opentype font that I would like to convert to SVG glyphs for use in a svg mapping application. I only have a truetype to svg glyph converter (Batik). Does someone have a opentype to truetype converter? If yes, would it be possible that i'd send you my font for conversion? I recommend you take a look at fontforge: http://fontforge.sourceforge.net/ It is a full-featured font editor, and can be used in batch (CLI) mode to convert between most common vector font formats, including OpenType and SVG Font. Thanks, --kirby - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Problem in changing an element class from translucent to opaque
I have the following in an SVG file: style type=text/css ![CDATA[ .trans { stroke:black;stroke-width:20;fill:blue;opacity:.5; } .opaque { stroke:black;stroke-width:20;fill:blue;opacity:1; } ]]/style I have an area element like this: path d= z class=trans/ Everything is fine until I change the element class. If I change it to opaque class, I expect that element be opaque but I don't see if any difference. Then if change it back to trans, the translucency seems to be changed to .25. From this point whenever the class is opaque translucency is .5 and when it's trans it seems to be .25 If the element starts with opaque (path d= z class=opaque/, it is opaque whenever the class is opaque and it has .5 translucency when it is trans. In other word, it works as I expected. Any explanation? I am using ASV 3.01 build 81. Thanks - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: opentype to truetype converter
very useful - thanks for that valuable resource! I did not know it. It installed fine on my Mac. Andreas --- In svg-developers@yahoogroups.com, skatethere [EMAIL PROTECTED] wrote: --- In svg-developers@yahoogroups.com, Andreas Neumann [EMAIL PROTECTED] wrote: Hi all, I have a Opentype font that I would like to convert to SVG glyphs for use in a svg mapping application. I only have a truetype to svg glyph converter (Batik). Does someone have a opentype to truetype converter? If yes, would it be possible that i'd send you my font for conversion? I recommend you take a look at fontforge: http://fontforge.sourceforge.net/ It is a full-featured font editor, and can be used in batch (CLI) mode to convert between most common vector font formats, including OpenType and SVG Font. Thanks, --kirby - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] ASV6
Is anyone using ASV6 in a production web site? If so, is it fairly stable? - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Checking for browser compatibility using Javascript
--- In svg-developers@yahoogroups.com, Jérôme Tricand de la Goutte [EMAIL PROTECTED] wrote: But, you can do something else: your first page should be an HTML page, calling for an embed small SVG. This small SVG should have an onload event, calling for the big one, and closing the first window. If the browser isn't compatible with SVG, it won't fire the onload event, and you will stay on the HTML page on which there can be an error message Anyone have a link to an example of this? James http://www.deerring.com - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Checking for browser compatibility using Javascript
In this example, what happens if the user is using a browser such as Mozilla 1.7 which I believe only works with ASV6 beta? The ASV download page doesn't have an option for ASV6, only ASV3. Jan --- In svg-developers@yahoogroups.com, James C. Deering [EMAIL PROTECTED] wrote: --- In svg-developers@yahoogroups.com, Jérôme Tricand de la Goutte [EMAIL PROTECTED] wrote: But, you can do something else: your first page should be an HTML page, calling for an embed small SVG. This small SVG should have an onload event, calling for the big one, and closing the first window. If the browser isn't compatible with SVG, it won't fire the onload event, and you will stay on the HTML page on which there can be an error message Anyone have a link to an example of this? James http://www.deerring.com - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: ASV6
we use it at our institute quite a lot. In my opinion it is quite stable. However, you should not think that the ASV that Adobe will next release is very similar to ASV6. ASV6 was just a developers preview, released at SVG.Open 2003 in Vancouver. To my knowledge the upcoming ASV has a lot of redesign under the hood which makes it considerably different from ASV6. For Windows Firefox users I recommend using ASV6 over ASV3. Andreas --- In svg-developers@yahoogroups.com, Jan [EMAIL PROTECTED] wrote: Is anyone using ASV6 in a production web site? If so, is it fairly stable? - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] flow
I have been trying to view this file using ASV 6 and XP http://www.w3.org/TR/SVG12/images/goflow.svg Fixed the broken code - /flowText - but still all I see are the outline letters - none of the flowing text appears. Does it work for others? If so using which browsers and which platforms? Jerry [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] flow
Jerrold Maddox wrote: I have been trying to view this file using ASV 6 and XP http://www.w3.org/TR/SVG12/images/goflow.svg Fixed the broken code - /flowText - but still all I see are the outline letters - none of the flowing text appears. Does it work for others? If so using which browsers and which platforms? It works in current CVS version of Batik. http://xml.apache.org/batik - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] suspend_draw/refresh whatever it takes
I've created my own pan tool and have disabled the adobe one, but I'm lacking one feature. How can I prevent the svg from being redrawn until the mouseup event. I've looked into suspend_draw, but it is either not appropriate, or I'm not using right. Thanks. - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Re: [svg-developers] getPointAtLength
renato_stancato wrote: I need to retrieve the coordinate of a path element in a certain distance. I know that there is a method called getPointAtLength but it's not implemented. In which viewer? I tried the following code (crude, but does the job) with ASV3 on IE 5.5 and Mozilla 1.7 and it works. ?xml version=1.0 standalone=no? !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd; svg xml:space=preserve width=100% height=100% script![CDATA[ function GetPathData() { var path = document.getElementById(Pa); var tl = path.getTotalLength(); var p1, p2, p3, p4; p1 = path.getPointAtLength(0); p2 = path.getPointAtLength(tl/3); p3 = path.getPointAtLength(2*tl/3); p4 = path.getPointAtLength(tl); alert(tl + '\n' + p1.x + ', ' + p1.y + '\n' + p2.x + ', ' + p2.y + '\n' + p3.x + ', ' + p3.y + '\n' + p4.x + ', ' + p4.y); } ]]/script path id=Pa fill=none stroke=green stroke-width=2 d=M 50,50 L 150,80 C 200,20 200,20 300,50 S 100,200 200,200 S 150,100 100,100 H 50/ circle cx=200 cy=100 r=20 fill=darkgreen onclick=GetPathData()/ /svg -- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- -- - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[svg-developers] Re: Change Scale in zooming
Hi, I assume you also want to keep the stroke-width of your line when zooming, if that is the case you can bind the scaling of the marker to the stroke-width. Just set the markerUnits attribute to 'strokeWidth'. So when you zoom a function is called that adjusts the stroke-width of your line and the size of the marker is changed automatically. sample at: http://www.zuccaralloo.de/devgroup/samples/scaleMarker.svg Regards- -Heiko http://www.zuccaralloo.de/devgroup --- In svg-developers@yahoogroups.com, raghu raman [EMAIL PROTECTED] wrote: Hi, I have a line with arrrow head. I draw an arrow head using marker. I don't like to change the scale of the arrow head in zoom in and zoom out. I have no idea how to implement this functionality. let know your solution please Thanks Raghu Yahoo! India Matrimony: Find your life partneronline. [Non-text portions of this message have been removed] - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click edit my membership Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/