Sergey氏より返答のメールがありました。

返答のメールが届きました

転載の許諾をいただきましたので、このブログで公開したいと思います。今、返答を考えている最中です。明後日までにできればいいのですが、私の力量を考えると、なかなか難しいです。
もし、翻訳に協力したい方がいらっしゃったら、このブログまでお知らせください。

メールの全文(?は原文どおり)

Hi,?dhrname,

2010/1/30

Hello, Sergey.

I am interested in the Ample SDK project that is very exciting. I am terribly sorry, but I c
an not help you, because I used the Mozilla's code and modified for the algorithms implementation.

Take a look into it indeed. I am sure it is interesting! Maybe you will get inspired or get some ideas for your work.
BTW, I presented Ample SDK at the SVG Open 2009 conference in US last year:?https://www.svgopen.org/2009/registration.php?section=abstracts_and_proceedings#paper_87
?

Google code search「nsSVGPathDataParser.cpp」

http://www.google.com/codesearch/p?hl=ja#e_ObwTAVPyo/content/svg/content/src/nsSVGPathDataPa
rser.cpp&q=svg%20path%20parser%20moveto&d=4

I think you misunderstood me. I am looking for algorithms how to translate SVG path to VML path, so looking into SVG implementation is not useful.
?

so,

1) Well, I think, Algorithms for mapping SVG path commands to VML path commands is:

1, all commands to 'M', 'L', or 'C' commands (for example, "M20 30 l 20 30 A 0 1.." >>> "M 2
0 30 L 40 60 C 30 40 50 60..")

2, coordinate transform - CTM (for example, if a value of 'transform' attribute is 'scale(2)
', "M 20 30" >>> "M40 60")

3, all commands to 'm', 'l' or 'c' commands. ("M 40 60" >>> "m40 60")

The implementation of that is very difficult. Please search SVG browsers' code and use it.

Ok, I have problems with transforming SVG arc command "A/a" to VML arc command "wa/at" - they use different parameters (the former - points, the later - angles, right?)
My implementation fails in many cases, but works occasionally. I will look now into your source code to see if I can extract the?algorithm?needed.
?

2) I do not know what you mean. Anyway, I would like to use the Ample SDK to advance the SIE
?project.

Not sure how you can do that (since Ample SDK has different and, I believe, deeper philosophy...)
?

3) >>so its children should be transformed separately

Right. I will look into that later - not the highest priority so far.
?

Right.

By the way,

I wonder if I can open your e-mail to the public for a oepn discussion of the SIE community.
?Would you like to permit me to copy yours to my blog?

Yes, you can use any information I have communicated so far.
?

?Regards,

?dhrname

Sergey/

なお、先日届いたメールの全文は以下のとおりです。

Hi,

I found your project SIE which is a great piece of work, and I am interested to talking to you!

My name is Sergey Ilinsky, I am a Tech Lead on a Open-Source JavaScript GUI Framework "Ample SDK". In two words this project tries to create a rich GUI layer (by virtualizing web-browser) for client-side applications while preserving standard-based APIs and technologies!
The idea behind project is DOM (Level 3) re-implemented with support for Core, Events and Selectors API modules. On top of that we've got support for many XML-based UI technologies such as XUL (cross-browser), SVG (also working in IE!) and now - Charting. The project page is http://www.amplesdk.com/

I already mentioned that we've got implementation of selected modules from SVG 1.1 working in Internet Explorer too, but since there are not many developers actively working on the project right now certain problems are still there.
I did not manage to implement several SVG path commands mappings to VML so I wonder if you could share algorythms?

Please take a look at several examples of SVG:
http://www.amplesdk.com/examples/svg/tiger/
http://www.amplesdk.com/examples/svg/trident_flow/
http://www.amplesdk.com/examples/svg/worldmap_interactive/

the source for the project is at�http://github.com/clientside/amplesdk
SVg implementation specifically:�http://github.com/clientside/amplesdk/tree/master/ample/languages/svg/implementation/

You should be impressed with the last example because it demonstrate full support of scripting in SVG running in IE! By the way we also support SVG CSS in IE too!

So,�
1) would you like to share algorythms for mapping SVG path commands to VML path commands?�
2) would you be interested in looking into our [rather outstanding piece of work!] and maybe join the effort?
3) would you like to share the general idea how you solved SVG group transformations problem (since in IE trasnformation cannot be applied to a group, so its children should be transformed separately, right)?�

Looking forward to hearing from you!

Regards,
Sergey/