[svg-developers] Re: changing SVG tag attributes?

2006-05-01 Thread Heiko Niemann
Hi, svg id=SVGDoc xmlns=http://www.w3.org/2000/svg; xmlns:xlink=http://www.w3.org/1999/xlink; circle cx=20 cy=30 r=10 fill=blue onclick=document.getElementById('inner').setAttributeNS (null,'x','400');/ svg id=inner x=100 y=150 width=100 height=100 line x1=3 y1=3 x2=5 y2=5 /

[svg-developers] SVG Open Archives

2006-04-17 Thread Heiko Niemann
Hi, does anybody know where the archives of SVG Open 2002-2005 have gone? All links http://www.svgopen.org/200x/... seem to be redirected to the homepage of the conference this summer. Regards, Heiko - To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit

[svg-developers] Re: Looking for that great drag node and edge example

2006-04-05 Thread Heiko Niemann
Hi, probably not the one you are talking about but it does what you are talking about. :) Besides it's several month old, too. http://www.zuccaralloo.de/devgroup/samples/boundRectangle.svg Regards, Heiko http://www.zuccaralloo.de/devgroup --- In svg-developers@yahoogroups.com, run2bmi21

[svg-developers] Re: Fw: hatchings patterns

2006-01-27 Thread Heiko Niemann
Hi Sylvain, if you open following sample http://www.zuccaralloo.de/devgroup/samples/hatchings.svg you will see in the first row why your lines are broken in your pattern and why setting the stroke-linecap attribute won't help: simply because parts of the pattern are missing (the neighboring

[svg-developers] Re: Placing SVG elements, other than text, along a path

2006-01-26 Thread Heiko Niemann
Hi Doug, you can define a custom font (the letter 'C' e.g. could be a circle) and then you use textPath as usual - either use percentage values for the startOffset attribute or use script to calculate the offset for more complex paths. Some samples:

[svg-developers] Re: Can I use pattern to fill a Path?

2005-09-01 Thread Heiko Niemann
Hi Zhu, --- In svg-developers@yahoogroups.com, zhu yang [EMAIL PROTECTED] wrote: Hi, guys I tried to use pattern or symbols instead of the font. My method is to use the pattern as the stroke to draw a line. such as svg defs pattern id=test patternUnits=userSpaceOnUse x=0 y=0

[svg-developers] Re: HELP!!!Draw complex lines with SVG

2005-08-23 Thread Heiko Niemann
Hi, unless you draw horizontal or vertical lines there is no easy solution for this. For the latter you could use patterns. If you want to draw curves you can define custom elements and a custom font and then use script to create complex paths. Sample showing some of the lines you are looking

[svg-developers] Re: Real time map animation in svg

2005-08-10 Thread Heiko Niemann
Hi Nathan, since you have come that far I was wondering where you actually need help. I assume you eventually will store the GPS data in some database (some kind of ID, coordinates, timestamp, ...). On a webserver you would have some sort of script (php,jsp,asp,...) to generate the data you want

[svg-developers] Re: getURL/parseXML does not work

2005-08-08 Thread Heiko Niemann
Hi DD, #1) What does your webserver return if you call the xml file directly? #2) Have you tried different samples that use getURL()? You could download http://www.zuccaralloo.de/devgroup/downloads/restaurant_xml.zip and see whether that runs. #3) Do you just call static xml files or do you

[svg-developers] Re: how to draw rialroad line style in SVG

2005-07-18 Thread Heiko Niemann
Hi, here is a sample where you can see what Peter Kalev suggested: http://www.zuccaralloo.de/devgroup/samples/railroad.svg So you could define entities which makes things easier when you need to change a path. Since this sample also uses textpath and animation it probably just will run with

[svg-developers] Re: Algorithm for Ellipse

2005-03-20 Thread Heiko Niemann
Hi, if you want to draw an ellipse with origin at cx,cy, the radii rx,ry and a rotation of dg degrees you can do following: 1) draw ellipse (two elliptical arcs) and rotate it via tranform: points A(ax,ay), B(bx,by) path of ellipse: M ax ay A rx ry 0 0 1 bx by rx ry 0 0 1 ax ay z

[svg-developers] weather fronts with textPath and custom font

2005-03-20 Thread Heiko Niemann
Hi, http://www.zuccaralloo.de/devgroup/samples/weatherFronts.svg shows a sample using textPath, a custom font and custom elements to generate weather front curves. The attributes of the custom elements determine the size, type and space in between the front symbols. The actual space between

[svg-developers] Curly Curves

2005-03-20 Thread Heiko Niemann
Hi, I think about couple weeks ago somebody was looking for a way to draw 'curly curves' (along with drawing weather fronts). http://www.zuccaralloo.de/devgroup/samples/curlyCurves.svg uses custom elements to define paths and the style of the 'curls'. The script looks for those elements and

[svg-developers] Re: SVG animation fill:remove???

2005-03-11 Thread Heiko Niemann
Hi Helen, there are several ways to do this. If you just need the rectangle to be displayed during the animation (plus 2 seconds) I would simply change the display attribute of the rect to none - as starting value. Then you can either say: 1) anim - fill=remove , rect - height=501 or 2) anim

[svg-developers] Re: read text from a file and draw it on the SVG dynamically

2005-02-28 Thread Heiko Niemann
Hi, you use getURL to load either a static file or call a server side script (PHP,ASP,JSP,...) that generates/returns text. Using ASV or Batik getURL also works locally (no server needed), using MozillaSVG or FireFoxSVG you have to add the getURL method via the XMLHttpRequest Object, thus it

[svg-developers] Re: show mouse coordinates

2005-02-28 Thread Heiko Niemann
Hi, as far as I can tell the problem is that you have different aspect ratios for width/height of your svg and for your viewBox width/height - which of course is ok, but causes problems calculating coordinates. The default values for the preserveAspectRatio attribute are xMidYMid meet thus

[svg-developers] Re: SVG showing up as XML text file in browser (viewer IS installed)

2005-02-27 Thread Heiko Niemann
Hi Margie, both applications you mention rely on plugin/browser communication (html to svg / svg to html, several svgs embedded in html, scripts loaded by html called by svg, ...) And all this just works with IE. Between ASV and other browsers this communication is broken - well to be correct,

[svg-developers] Re: Launch a sound both at startup and on click ?

2005-02-26 Thread Heiko Niemann
Hi Tim, no script needed. You can simply define a value-list for the begin attribute: begin=0s;playButton.click sample at: http://www.zuccaralloo.de/devgroup/samples/sound.svg download at: http://www.zuccaralloo.de/devgroup/?m=messages Regards- -Heiko --- In

[svg-developers] Re: Change Scale in zooming

2005-02-24 Thread Heiko Niemann
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

[svg-developers] Re: Performance

2005-02-22 Thread Heiko Niemann
Hi Friedhelm, I dont't get any performance problems - and you probably would not want my machine I am using for free :) Your modified sample: http://www.zuccaralloo.de/devgroup/samples/performance.svg modifications: image element: I removed fill and stroke-opacity (never have seen fill

[svg-developers] Re: Draw Arrow Head

2005-02-21 Thread Heiko Niemann
Hi, you could also define your own font and use textPath to place markers (glyphs) anywhere along a path setting the startOffset attribute - doing so, orientation is no problem either. Sample: http://www.zuccaralloo.de/devgroup/samples/textPathMarkers.svg A glyph can be a simple path or any

[svg-developers] Re: 2 adjacent rects

2005-02-16 Thread Heiko Niemann
@yahoogroups.com, tony_ser [EMAIL PROTECTED] wrote: Thanks! That will work. Just curious, I find optimizeSpeed in the standard but not crispEdges. Is crispEdges only supported by certain viewer ? Thanks! --- In svg-developers@yahoogroups.com, Heiko Niemann [EMAIL PROTECTED] wrote: Hi

[svg-developers] Re: 2 adjacent rects

2005-02-15 Thread Heiko Niemann
Hi, use the shape-rendering attribute and set it to 'crispEdges' to turn off anti-aliasing which causes this thin line to appear. ... g shape-rendering=crispEdges rect id=_Rectangle84 x=2600 y=2400 width=800 height=2694 fill=#ff / rect id=_Rectangle86 x=3400 y=2400 width=800 height=2694

[svg-developers] Re: metadata

2005-02-14 Thread Heiko Niemann
Hi Burkhard, if you say: var xml = parseXML(data.content, document) // with data.content actually being your xml snippet called via getURL you will get: xml - document fragment; xml.firstChild - element - since overlays is the first (child) node of the document fragment;

[svg-developers] Re: how to access fme:attribute by Javascript

2005-02-10 Thread Heiko Niemann
Hi Spring, your sample at: http://www.zuccaralloo.de/devgroup/samples/namespace.svg Regards- -Heiko http://www.zuccaralloo.de/devgroup --- In svg-developers@yahoogroups.com, tangdm [EMAIL PROTECTED] wrote: I converted .shp files into svg file by FME Workbench. Here is a path from

[svg-developers] Re: Problem with clearInterval()

2005-02-10 Thread Heiko Niemann
Hi David, probably can't use clearInterval() in the same function that is called by the setInterval() method. Here is a sample that plays with setInterval() and clearInterval(): http://www.zuccaralloo.de/devgroup/samples/interval.svg Regards- -Heiko http://www.zuccaralloo.de/devgroup

[svg-developers] Re: strange ASV6 plugin behavior / use and mouseover

2005-02-09 Thread Heiko Niemann
Hi Olaf, it seems that the use element was implemented differently in ASV3, ASV6PR and Batik. See this test: http://www.zuccaralloo.de/devgroup/samples/useElement.svg What you will notice: ASV3: target is always the use element, so the only way to figure out the referenced element seems to

[svg-developers] Re: Polygon Rotation

2005-02-05 Thread Heiko Niemann
Hi, something like http://www.zuccaralloo.de/devgroup/samples/rotateRect.svg ? Regards- -Heiko http://www.zuccaralloo.de/devgroup/ --- In svg-developers@yahoogroups.com, pavan kumar [EMAIL PROTECTED] wrote: yeah, i would like to rotate the rectangle with animation about one of

[svg-developers] Re: translate then rotate then remove a image

2005-02-01 Thread Heiko Niemann
Hi Jilu, add fill=freeze to anim1 and additive=sum to anim2 see sample: http://www.zuccaralloo.de/devgroup/samples/animatePhotos.svg Regards- -Heiko --- In svg-developers@yahoogroups.com, jilusan [EMAIL PROTECTED] wrote: Hello every body, I would like to translate then rotate then

[svg-developers] Re: fill=remove in animateTransform

2005-01-31 Thread Heiko Niemann
Hi Jilu, the fill attribute of an animation element can have the values remove and freeze. These values apply to the animation effect(!) not the animated object/target itself. Aashish showed the solution. I would do two modifications though: 1) Use display instead of visibility unless you

[svg-developers] Re: fill=remove in animateTransform

2005-01-31 Thread Heiko Niemann
, Jilu -Original Message- From: Heiko Niemann [mailto:[EMAIL PROTECTED] Sent: 31 janvier 2005 17:38 To: svg-developers@yahoogroups.com Subject: [svg-developers] Re: fill=remove in animateTransform Hi Jilu, the fill attribute of an animation element can have

[svg-developers] Re: viewport problem in Batik and mozSVG

2005-01-29 Thread Heiko Niemann
Hi Thomas, I think the events should be clipped (or at least it should be an option among others). For me that is the whole idea having viewports. In the previous sample I could have done a workaround but here is a sample where I don't see a solution not having the events clipped (just

[svg-developers] Re: Simple SVG Strip Chart Display

2005-01-24 Thread Heiko Niemann
Thomas, you are of course right and I should have looked up the dtd, too. For some reason I had in mind that there was a default value - maybe because ASV loads scripts without the type set? Actually it's good that Batik is not so forgiving - better: not forgiving at all - and does not

[svg-developers] Re: Simple SVG Strip Chart Display

2005-01-23 Thread Heiko Niemann
Philippe, Philippe Lhoste wrote: I beleive you (Heiko Niemann) shouldn't use script type=text/ecmascript as Mozilla doesn't like it: See https://bugzilla.mozilla.org/show_bug.cgi?id=62485 for the reason why. Basically, text/ecmascript is not an official Mime type, so Mozilla snobs

[svg-developers] Re: authorize pointer events by types ??

2005-01-13 Thread Heiko Niemann
Jean-David, could you give further information, what you are doing? I am a bit confused because you actually assign events to certain elements onclick, onmouseover. So do you mean if you have assigned several events to a group of elements and want to turn off events for certain elements?

[svg-developers] Re: How to obtain parameters from a file to implement dynamic animation

2005-01-09 Thread Heiko Niemann
and eval work with JSP or servlet? Could you give anything like documentation to read about that? I can't find the right one. Thank you so much!!! Regards Heiko Niemann [EMAIL PROTECTED] wrote: Hi, ok, if I understand correctly you don't actually animate values using the svg animation

[svg-developers] Re: How to obtain parameters from a file to implement dynamic animation

2005-01-08 Thread Heiko Niemann
Hi, yes, basically you can do it with getURL() and eval(). At least ASV3 lets you change values even while the animation is running. sample: http://www.zuccaralloo.de/devgroup/samples/changeAnimationValues.svg download zip at: http://www.zuccaralloo.de/devgroup/content.php#msg-46893 In

[svg-developers] Re: trying to animate scale(x_ratio) ('3D'-rotation around x=0,'z'=0)

2004-12-29 Thread Heiko Niemann
Hi Ruud, if you use keyTimes and keySplines together you need to define a set of bezier control points for each interval. - if you have keyTimes=0;.6;1 that's two intervals so keySplines would be e.g. keySplines= .7,.1,.2,.9 ; .5,.7,.3,.3 - if you don't use keyTimes you can use just one

[svg-developers] Re: ASV Higher Quality-modes and large Bitmaps

2004-12-22 Thread Heiko Niemann
Hi, set: defaultAntialias = false; sample at ww.zuccaralloo.de/devgroup : http://www.zuccaralloo.de/devgroup/samples/quality.svg Regards- -Heiko --- In [EMAIL PROTECTED], Vaross Oliver (CPTec GmbH) [EMAIL PROTECTED] wrote: Hi, I'm using SVG to scroll and zoom a bitmap (png), showing

[svg-developers] Re: SVG in mozilla

2004-10-28 Thread Heiko Niemann
Hi, PK Take the svg files within the svg folder and place PK them into the mozilla plugins folder. not if you installed Mozilla with native SVG support, see: http://www.mozilla.org/projects/svg/faq.html#nnp Reasons why your svg might not work: - svg is not well-formed - svg includes

[svg-developers] Re: parent node

2004-10-25 Thread Heiko Niemann
Hi, var element = document.getElementById('child'); var parent = element.parentNode; Regards- -Heiko --- In [EMAIL PROTECTED], nickka53 [EMAIL PROTECTED] wrote: Can I query for an element's parent node? I tried using the svgDocument and selectSingleNode (using JavaScript) and XPath and

[svg-developers] Re: SVG in HTML

2004-09-24 Thread Heiko Niemann
Hi, http://groups.yahoo.com/group/svg-developers/message/44085.htm has a link to a sample and refers to a message that also shows a cross-browser solution that uses the browserEval() method. Regards- -Heiko --- In [EMAIL PROTECTED], clara consiglieri [EMAIL PROTECTED] wrote: Thanks

[svg-developers] Re: ASV3.x, partial zoom, html interaction

2004-09-20 Thread Heiko Niemann
Hi, are you looking for something like this: http://www.kevlindev.com/gui/utilities/azap/index.htm Regards- -Heiko --- In [EMAIL PROTECTED], Pierre Bru [EMAIL PROTECTED] wrote: --- In [EMAIL PROTECTED], Jerome de la Goutte [EMAIL PROTECTED] wrote: Hi Pierre I think this is not

[svg-developers] Re: Markers

2004-09-18 Thread Heiko Niemann
Hi, Philippe Lhoste wrote: OK (still experimenting...): the problem is with the opacity parameter. If I just remove it from the file above, it works. [...] But opacity is problematic with with Star but not with Arrow... OK: it seems that the combination of stroke and opacity is making