Re: [svg-developers] Draw Arrow Head

2005-02-21 Thread Philippe Lhoste

raghu raman wrote:
> I need to draw a arrow head in middle of the given path. 
> 
> Kindly let me know your solutions

Raghu, this list is made of a bunch of helpful people that does its most 
to answer questions. If your question remains unanswered, I believe 
that's because there is no simple answer to it, ie. it involves quite 
complex computations, that are beyond my own knowledge. Even looking at 
fabled Kevin Lindsey's site, which is full of useful JavaScript 
geometrical algorithms, I see no simple solution (but perhaps I didn't 
looked hard enough). Perhaps you could explore it yourself to see if 
something fits your needs.

In all cases, repeating your questions in different forms would probably 
not help much. You are not forgotten, but it is a delicate question.

I believe SVG specs defined a function to calculate a path length, but I 
am not sure it is implemented in ASV3, and even so I don't see how to 
find the middle of the path, except by iterating perhaps.

-- 
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  For servers mangling my From and Reply-To fields,
--  please send private answers to PhiLho(a)GMX.net
--  --  --  --  --  --  --  --  --  --  --  --  --  --


-
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: Draw Arrow Head

2005-02-21 Thread Andreas Neumann


You could use  to "animate" your symbol to 50% (using
discreet values) and set fill "freeze" to make the symbol stay there.
The advantage of this approach is that the symbol can be rotated
automatically.

See http://www.w3.org/TR/SVG11/animate.html#AnimateMotionElement or
http://www.carto.net/papers/svg/samples/path_animation.shtml

The other alternative would be to use javascript. The methods
.getTotalLength() and .getPointAtLength() help you to find the
position at 50% of the path. The tricky part is to find the
orientation: for finding that you would have to read the path geometry
itself ...

As Philippe said, there is no easy solution for that.

Andreas


--- In svg-developers@yahoogroups.com, raghu raman <[EMAIL PROTECTED]>
wrote:
> I need to draw a arrow head in middle of the given path. 
> 
> Kindly let me know your solutions
> 
>  
> 
> 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/
 





[svg-developers] Performance

2005-02-21 Thread friedhelmeichin


I am trying to build a scada mmi prototype with svg. For this I used 
a background image (1024x768 *.png or *.jpg file) and in foreground 
some simple dynamic controls like "led, bargraph, text, symbol,...). 
To get the dynamic behaviour, I used JavaScript and the DOM to change 
some attributes (text, color, visibility,...) of the controls once 
per second.

I work with IE+ASV to show this graphic. There I get a really bad 
performance (97% CPU usage, 3s interval instead of 1s), if I don't 
use the attribute image-rendering="optimizeSpeed" at the background 
image element. 
When I use "optimizeSpeed" performance is ok, but I am not sure, if 
the quality of the graphic is sufficient for a comercial product.

Is this a typical behaviour?

Are there other ways to increase performance?

I am looking forward to get response from anybody, who has some 
experience in this case.

Regards
Friedhelm





-
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] Fly over text ?

2005-02-21 Thread pesdeep


hi this is deepak,

i am very happy to join this group.

im started to knowing the svg things. im very interested to learn 
svg. so i am started to developing one small module.There im not get 
how to display information as text message when moving the mouse over 
individual marks that will show details for that marks as fly over 
text 





-
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] Fetching the database

2005-02-21 Thread pesdeep


 i am created one simple map.  im trying to move some objects in the 
map through getting the values from database. how to get stored x and 
y values from the database to move some objects according to that x 
and y values in svg. 





-
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: Performance

2005-02-21 Thread Domenico Strazzullo


Hi Friedhelm,

Three seconds instead of one seems too much to me. If you would show 
us the code somebody might be able to help.

Regards
Domenico


--- In svg-developers@yahoogroups.com, "friedhelmeichin" 
<[EMAIL PROTECTED]> wrote:
> 
> I am trying to build a scada mmi prototype with svg. For this I 
used 
> a background image (1024x768 *.png or *.jpg file) and in 
foreground 
> some simple dynamic controls like "led, bargraph, text, 
symbol,...). 
> To get the dynamic behaviour, I used JavaScript and the DOM to 
change 
> some attributes (text, color, visibility,...) of the controls once 
> per second.
> 
> I work with IE+ASV to show this graphic. There I get a really bad 
> performance (97% CPU usage, 3s interval instead of 1s), if I don't 
> use the attribute image-rendering="optimizeSpeed" at the 
background 
> image element. 
> When I use "optimizeSpeed" performance is ok, but I am not sure, 
if 
> the quality of the graphic is sufficient for a comercial product.
> 
> Is this a typical behaviour?
> 
> Are there other ways to increase performance?
> 
> I am looking forward to get response from anybody, who has some 
> experience in this case.
> 
> Regards
> Friedhelm





-
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] Russell Beattie call on SVG after Flash Lite killer app

2005-02-21 Thread Chris Lilley

On Thursday, February 17, 2005, 11:37:41 PM, Eddie wrote:


EV> Dear fellow SVG developers and enthusiasts,

EV> Prominent Silicon Valley blogger (and recently hired by Yahoo's mobile
EV> division), Russll Beattie, is really excited about this Flash Lite
EV> traffic application demonstation on his mobile phone.

EV> Check out his blog post at:

EV> http://www.russellbeattie.com/notebook/1008314.html

EV> In his post, note that he states this about SVG:

EV> "Now, in deference to my friends at Adobe, I have to say I'm still
EV> waiting for the SVG equivalent to this sort of app. I know SVG-T is on
EV> all the new Vodafone phones, but I have yet to play with an app in
EV> person.

To which one might reply, you should have been at the 3GS expo this
year. or, indeed, last year, since it was already on phones last year.


EV> When are we going to see an SVG plug-in for Series 60?

Last month. Nokia Series 60 release 3 incluses SVGT support and JSR 226
support. There was a demo at 3GSM on the Nokia booth where powerpoint
files on a server were converted to SVGT and viewed on a Nokia series 60
phone using its built-in SVGT capabilities.

Similar to what Sharp and Bitflash were showing last year. Ne

EV> Someone
EV> tell the guys at BitFlash to start selling their SVG player to the
EV> public, damnit."

On phones, especially mass market phones, its whats installed when you
buy it that counts. The general public neither wants to or is able to
install software. (ring tones and logos, yes. software, no. too much
support cost).


-- 
 Chris Lilleymailto:[EMAIL PROTECTED]
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group



-
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: clipping a polygon

2005-02-21 Thread Domenico Strazzullo


Hi Andy,

The clipping path is doing its job, cutting off the external
half-stroke. You can see this clearly if you close your line to turn 
it into a polygone. Other than that I tried to figure out what 
you're trying to do but I couldn't :)

Domenico



--- In svg-developers@yahoogroups.com, "Andreas Schnabl" 
<[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> I clipped the following polygon:
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> The problem is that the polygon is clipped downwards. But I need 
it 
> to be clipped to the other side.
> 
> Does anybody has a suggestion? Is there maybe a possibility to 
> change the path direction?
> 
> cheers
> 
> andy





-
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] thanks!

2005-02-21 Thread mimasa

Authentication required.


information_svg-developers.scr: No virus found
Powered by the new Norton OnlineScan
Get protected: www.symantec.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/
 





[svg-developers] Re: General web svg architecture

2005-02-21 Thread Jan


> You do realise that native SVG support hasn't been turned on in
> Mozilla, don't you? That means it isn't on in Netscape either. 

Yes, I realized that, but what I didn't realize was that Mozilla and 
Netscape are actually the same browser.  I guess that's where part of 
my confusion was.  That is true, isn't it?

> Which version of Netscape are you using BTW? Note that I already 
told
> you there is no scripting link between ASV and recent versions of
> Mozilla. 

I tried the latest version 7.2.  Now that I've read about 
Mozilla/Netscape and SVG support on the links that people have 
provided, I'm confused as to how my app even displayed an svg image 
at all.  I have two embedded svg images in my html.  The one that 
does not try to communicate with html displays fine.  The other one 
that does try to communicate with html won't display (probably 
because it tried to communicate with html).  Since I'm using Netscape 
7.2, I didn't think there was any svg support at all.  So why is one 
of my svg images displaying with Netscape 7.2?

> My advice to you is to download a *Mozilla Suite or Mozilla Firefox*
> build with *native* SVG support and get things working in that. Your
> code should then work in future versions of Mozilla and hopefully
> Netscape that have native SVG support.
> 

I will try that to see if my app works with that version, however I'm 
not sure if developing a web site based on a future version of a 
browser would be desirable.  I saw that native svg support will 
eventually be part of Mozilla (and turned on) maybe with Mozilla 1.9 
or later.  Does anyone know the approximate timeframe of when this 
will occur?






-
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: clipping a polygon

2005-02-21 Thread Domenico Strazzullo


I wrote:

> Other than that I tried to figure out what 
> you're trying to do but I couldn't :)

Or I guess maybe you need to show half of the street width while 
showing borough delimiters, in which case you can do this:








unfortunayely you can't use the  of the streets definition paths
for defining your clip paths as you would get stroke corners 
parasite residuals. You need to add some extra calculation when 
defining clipPath (added "M 0,30 ... L500,2000" at the extremes, 
indipendently of the "M0,0h2000v2000H0" box which is added to 
justify clip-rule="evenodd"). But if/whenever you can close the 
paths you'll be able to use the street data as is, just add the box 
and the clip-rule.

  
> --- In svg-developers@yahoogroups.com, "Andreas Schnabl" 
> <[EMAIL PROTECTED]> wrote:
> > 
> > Hi,
> > 
> > I clipped the following polygon:
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > The problem is that the polygon is clipped downwards. But I need 
> it 
> > to be clipped to the other side.
> > 
> > Does anybody has a suggestion? Is there maybe a possibility to 
> > change the path direction?
> > 
> > cheers
> > 
> > andy





-
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] How to get coordinate of SVG inside MFC (C++)? URGENT!!!!!

2005-02-21 Thread wywytse


Dear all,

I'm a beginner of SVG and face the following problem.

I added SVG inside MFC application as activeX control, but how can I 
get the mouse coordinate of the SVG inside MFC?

Many 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: General web svg architecture

2005-02-21 Thread Jan


--- In svg-developers@yahoogroups.com, "Andreas Neumann" 
<[EMAIL PROTECTED]> wrote:
> 
> Jan,
> 
> if you want your application to run in every operating system and
> browser, you have to do it all in SVG, currently, unfortunately. My
> recent SVG only projects all run in Linux, MacOSX, Windows, Solaris 
in
> almost any popular browser (Opera, Konqueror, Firefox, Mozilla,
> Internet Explorer, etc.) - 

Thank you!!  I was waiting for someone to tell me that!!  So how 
would your app work if someone is using the Mozilla browser that 
doesn't have the native SVG?  It doesn't look like ASV3 works with 
that browser.  Are you using the Adobe SVG Viewer?


> I personally would not store attributes or other data in js arrays
> anymore. I would do it all in XML and load it with getURL/parseXML. 
I
> did that successfully for ASV3/ASV6 and Batik.
> 
> I also have a few lines of ECMAScript that do textwrapping (however
> only at word boundaries) if you have larger chunks of text to 
display.

I need to maintain current information that I will need to display in 
a textual listing when the user clicks on a link.  I will have a 
traffic map displayed and will have a link to the side for the user 
to print information about all current traffic incidents.  How would 
I do this if I didn't use js arrays to store that data?

Also, how do you display text listings using svg?  I was thinking 
that I could use an html link to somehow print the traffic incident 
array that was stores in the js array var within my svg.  Is it a 
major pain in the butt to do this in svg?  That would be great if you 
could pass along any code that will do this.

Thanks!!

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] Re: General web svg architecture

2005-02-21 Thread Philippe Lhoste

Jan wrote:
> --- In svg-developers@yahoogroups.com, "Andreas Neumann" 
> <[EMAIL PROTECTED]> wrote:
>> if you want your application to run in every operating system and
>> browser, you have to do it all in SVG, currently, unfortunately. My
>> recent SVG only projects all run in Linux, MacOSX, Windows, Solaris 
> in
>> almost any popular browser (Opera, Konqueror, Firefox, Mozilla,
>> Internet Explorer, etc.) - 
> 
> Thank you!!  I was waiting for someone to tell me that!!  So how 
> would your app work if someone is using the Mozilla browser that 
> doesn't have the native SVG?  It doesn't look like ASV3 works with 
> that browser.  Are you using the Adobe SVG Viewer?

ASV3 works with Mozilla, with some problems, but mostly it is OK.
I have heard of problems with Firefox, some reports ASV3 support is 
broken, others say it is fine.

-- 
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  For servers mangling my From and Reply-To fields,
--  please send private answers to PhiLho(a)GMX.net
--  --  --  --  --  --  --  --  --  --  --  --  --  --


-
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: General web svg architecture

2005-02-21 Thread Jan


--- In svg-developers@yahoogroups.com, Philippe Lhoste <[EMAIL PROTECTED]> 
wrote:
> Jan wrote:
> > --- In svg-developers@yahoogroups.com, "Andreas Neumann" 
> > <[EMAIL PROTECTED]> wrote:
> >> if you want your application to run in every operating system and
> >> browser, you have to do it all in SVG, currently, unfortunately. 
My
> >> recent SVG only projects all run in Linux, MacOSX, Windows, 
Solaris 
> > in
> >> almost any popular browser (Opera, Konqueror, Firefox, Mozilla,
> >> Internet Explorer, etc.) - 
> > 
> > Thank you!!  I was waiting for someone to tell me that!!  So how 
> > would your app work if someone is using the Mozilla browser that 
> > doesn't have the native SVG?  It doesn't look like ASV3 works 
with 
> > that browser.  Are you using the Adobe SVG Viewer?
> 
> ASV3 works with Mozilla, with some problems, but mostly it is OK.
> I have heard of problems with Firefox, some reports ASV3 support is 
> broken, others say it is fine.
> 

Boy, this can be confusing!!  According to 
http://www.mozilla.org/projects/svg/faq.html#asv, ASV3 DOESN'T work 
with current versions of Mozilla (AND, I assume, Netscape).
> -- 
> Philippe Lhoste
> --  (near) Paris -- France
> --  http://Phi.Lho.free.fr
> --  For servers mangling my From and Reply-To fields,
> --  please send private answers to PhiLho(a)GMX.net
> --  --  --  --  --  --  --  --  --  --  --  --  --  --





-
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] Re: Draw Arrow Head

2005-02-21 Thread Philippe Lhoste

Andreas Neumann wrote:
> You could use  to "animate" your symbol to 50% (using
> discreet values) and set fill "freeze" to make the symbol stay there.
> The advantage of this approach is that the symbol can be rotated
> automatically.

Very smart!

> See http://www.w3.org/TR/SVG11/animate.html#AnimateMotionElement or
> http://www.carto.net/papers/svg/samples/path_animation.shtml
> 
> The other alternative would be to use javascript. The methods
> .getTotalLength() and .getPointAtLength() help you to find the
> position at 50% of the path. The tricky part is to find the
> orientation: for finding that you would have to read the path geometry
> itself ...

I was about to write, after looking back at the example path, that since 
it is made only of straight lines, it should not be so hard to compute 
total length and then to iterate to find the middle.
My initial answer was about generic paths, with Bézier and all.

Now, your solution is much easier, using the viewer to do the hard 
computations...

As for the orientation, I think one could take the point at half way 
less 1% (or 0.1%) and the one at half way plus 1% (or 0.1%, to adjust to 
find which work best, that depends also on the complexity of the curve, 
ie. on the number of vertexes).
Draw a line between these two points, it gives (a good approximation of) 
the needed orientation vector.

> As Philippe said, there is no easy solution for that.

Joining minds is a powerful way of finding solutions! :-D

> Andreas
> 
> 
> --- In svg-developers@yahoogroups.com, raghu raman <[EMAIL PROTECTED]>
> wrote:
>> I need to draw a arrow head in middle of the given path. 
>> 
>> Kindly let me know your solutions

-- 
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  For servers mangling my From and Reply-To fields,
--  please send private answers to PhiLho(a)GMX.net
--  --  --  --  --  --  --  --  --  --  --  --  --  --


-
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: General web svg architecture

2005-02-21 Thread Jan


> --- In svg-developers@yahoogroups.com, "Andreas Neumann" 
> <[EMAIL PROTECTED]> wrote:
> > 
> > Jan,
> > 
> > if you want your application to run in every operating system and
> > browser, you have to do it all in SVG, currently, unfortunately. 
My
> > recent SVG only projects all run in Linux, MacOSX, Windows, 
Solaris 
> in
> > almost any popular browser (Opera, Konqueror, Firefox, Mozilla,
> > Internet Explorer, etc.) - 
> > 
> > I also have a few lines of ECMAScript that do textwrapping 
(however
> > only at word boundaries) if you have larger chunks of text to 
> display.
> 

--- In svg-developers@yahoogroups.com, "Jan" <[EMAIL PROTECTED]> wrote:
> 
> I need to maintain current information that I will need to display 
in 
> a textual listing when the user clicks on a link.  I will have a 
> traffic map displayed and will have a link to the side for the user 
> to print information about all current traffic incidents.  How 
would 
> I do this if I didn't use js arrays to store that data?
> 
> Also, how do you display text listings using svg?  I was thinking 
> that I could use an html link to somehow print the traffic incident 
> array that was stores in the js array var within my svg.  Is it a 
> major pain in the butt to do this in svg?  That would be great if 
you 
> could pass along any code that will do this.
> 

Is it possible to do a text listing via an html link by updating an 
html javascript variable each time my embedded svg js array changes?  
In order to print out a text listing of traffic incidents, I need to 
know what the current list is.  The svg js variable will maintain 
this data which will be updated on a regular basis from the web 
server.

Will this work in Mozilla/Netscape/etc since I don't have to actually 
change svg data from html and it's readonly?

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/
 





[svg-developers] Tutorial: SVGT using Mobile Designer

2005-02-21 Thread sara_j_porter


Hello group,
I'm just getting into Mobile Designer (for interactive and animated 
SVGT output) and have created a short tutorial and posted it on my 
class web page 
http://www.kokomo.tech.purdue.edu/cgt/courses/cgt216/index.html

It's not intended for programmers; rather for designers.  And it's 
not in HTML format (I always print things out anyway).  

I just wanted to add a tutorial other than what is already found on 
the Beatware forum  http://www.beatware.com/forum/

I'm getting my students to create SVGT files for projects for the 
rest of the semester.  They'll be very basic, but may help with 
examples/samples of SVGT content on-line.

Any suggestions (and I'm getting some good ones) for projects are 
welcomed!

Thanks much!
Sara Porter
Purdue University





-
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] Re: General web svg architecture

2005-02-21 Thread Philippe Lhoste

Jan wrote:
>> ASV3 works with Mozilla, with some problems, but mostly it is OK.
>> I have heard of problems with Firefox, some reports ASV3 support is 
>> broken, others say it is fine.
> 
> Boy, this can be confusing!!  According to 
> http://www.mozilla.org/projects/svg/faq.html#asv, ASV3 DOESN'T work 
> with current versions of Mozilla (AND, I assume, Netscape).

I don't know what _recent_ version they are talking about, but I have 
Mozilla 1.7 and it works with ASV3 without crashing (on Win98SE).

Now, when reloading a page with a SVG, either with the Reload button or 
the Back button, the SVG is often frozen (ie. JS and animation no longer 
work).

Perhaps they just warn there can be problems, not always, but often 
enough to advice against its use.

I must admit that most of my SVG tests are done with IE, much less hassle.

-- 
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  For servers mangling my From and Reply-To fields,
--  please send private answers to PhiLho(a)GMX.net
--  --  --  --  --  --  --  --  --  --  --  --  --  --


-
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: Draw Arrow Head

2005-02-21 Thread Andreas Neumann


> As for the orientation, I think one could take the point at half way 
> less 1% (or 0.1%) and the one at half way plus 1% (or 0.1%, to
adjust to 
> find which work best, that depends also on the complexity of the curve, 
> ie. on the number of vertexes).
> Draw a line between these two points, it gives (a good approximation
of) 
> the needed orientation vector.

yes, thats a good idea. Should work well.

Maybe at a later SVG version we should have a declarative approach for
that problem, without having to use scripting or animation.

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: 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 content (see the spec chapter
20.4). So this is as flexible as using symbols. 
In your example you would have to adjust the font-size according to
the scaling that is done when you use viewBox - similar to adjusting
the stroke-width of your path. 

Your sample with an arrow at the middle of the path - and a little
animation that just happened to get in there when I was playing :-)

http://www.zuccaralloo.de/devgroup/samples/textPathMarkers2.svg

I hope it's not too confusing and you will get the basic idea. I guess
then you can start to try and play!

Regards-
-Heiko

http://www.zuccaralloo.de/devgroup



--- In svg-developers@yahoogroups.com, raghu raman <[EMAIL PROTECTED]>
wrote:
> I need to draw a arrow head in middle of the given path. 
> 
> Kindly let me know your solutions
> 
>  
> 
> 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/
 





[svg-developers] convert svg to jpeg or bitmap

2005-02-21 Thread pukkypa


hi all,
i've svg files. i would like to convert them to jpeg or bitmap format. 
how i can do that? 
  regards,
pukky





-
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] convert svg to jpeg or bitmap

2005-02-21 Thread Tonny Kohar

Hi,

On Tue, 2005-02-22 at 09:53, pukkypa wrote:
> hi all,
> i've svg files. i would like to convert them to jpeg or bitmap format. 
> how i can do that? 

You could use:
- Sketsa SVG Graphics Editor 
- Apache Batik rasterizer module
- ImageMagick (???)
- Adobe Illustrator
- Corel Draw

Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.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/
 





Re: [svg-developers] Performance

2005-02-21 Thread Mario Vernari

Hi Friedheim,
I agree with Domenico.
SCADA using SVG synopthics is my main job, since over 2 years.
I have several examples of SVG's taking almost no CPU.

The worstest problem (I'd say "fault") of SVG is that you cannot control how 
much the SMIL animation can eat CPU.
So most of the time you have to manage the code (losing even lot of time) to 
adjust animations so that the CPU is within acceptable margins.
Don't refuse the Javascript+DOM animation: in many situations it would be 
convenient.
Cheers
Mario



On Monday 21 February 2005 11:56, friedhelmeichin wrote:
>  I am trying to build a scada mmi prototype with svg. For this I used
>  a background image (1024x768 *.png or *.jpg file) and in foreground
>  some simple dynamic controls like "led, bargraph, text, symbol,...).
>  To get the dynamic behaviour, I used JavaScript and the DOM to change
>  some attributes (text, color, visibility,...) of the controls once
>  per second.
>
>  I work with IE+ASV to show this graphic. There I get a really bad
>  performance (97% CPU usage, 3s interval instead of 1s), if I don't
>  use the attribute image-rendering="optimizeSpeed" at the background
>  image element.
>  When I use "optimizeSpeed" performance is ok, but I am not sure, if
>  the quality of the graphic is sufficient for a comercial product.
>
>  Is this a typical behaviour?
>
>  Are there other ways to increase performance?
>
>  I am looking forward to get response from anybody, who has some
>  experience in this case.
>
>  Regards
>  Friedhelm
>
>
>
>
>
>  -
>  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 the Yahoo! Terms of Service.


-
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] Issues using postUrl with .NET Webservice

2005-02-21 Thread mjsamsel


Hello,

I am new to programming in svg and c#.  I have recently attempted to 
use postUrl but I have been having problems making it work.  I have 
spent many hours searching the internet and news groups for answers 
but there isnt a detailed enough example to help out.

Here is the scenario:
I am trying to take data from svg using Adobe 3.0 viewer and post it 
back to a .NET c# webservice.  I have a variable I want to send back 
so I can process the post using different functions.  Here are my 
issues.
1. What is the correct format to send the variable back to the 
webservice
2. How do I access the sdata (post back part) from the webmethod and 
place the string into returneddata

Currently, the postStatus returns success with a message 'Request 
format is invalid: text/xml.'  The webservice will post correctly in 
debug mode in vs.net.  I dont see any data in my dsname variable or 
anywhere else.

Your help would be greatly appreciated.

Thanks,
Mike


Code Example below:



SVG Code  (Fragemented code example)
--

function postStatus(urlStatus)
{
if(urlStatus.success)
{
  //I keep getting 'Request format is invalid: text/xml.'
  alert( urlStatus.content);
}
else
{
  alert("Something went wrong with posting data!");
}   
}


function postData()
{
var webServicePostUrlString 
= "/WebService/handleData.asmx/postedData?dsname=dataset1";
sdata="hello World"; // This could also be a svg fragement using 
printNode
postURL(webServicePostUrlString, sdata, postStatus, 'text/xml', null)

}







C# Web Service
--
[WebService(Namespace="http://localhost/webservice/";)] 
public class handleData : System.Web.Services.WebService
{

[WebMethod(Description="Get Data from client to server.")]
public void postedData(string dsname)
{

  //How do you get the data into returneddata from the postUrl?
  string returneddata="?";


  switch(dsname)
  {
case "dataset1":
   processDataSet1(returneddata);
   break;

case "dataset2":
   processDataSet2(returneddata);
   break;

  }
}

}





-
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/