Re: [svg-developers] Re: different look in ie6 and vb6. Why?

2004-12-08 Thread Mario Vernari

Hi Maciek,
sorry to be in late for the answer...
It is not hard to build a web server to connect a browser. In fact you will 
use a normal browser (IE, Mozilla or whatever else can support the Adobe or 
SVG with XMLHTTP capabilities).

I personally decided to embed the IE control in a VB6 form and that ActiveX 
calls the Adobe's viewer (as IE itself).

Once you've called the "base" SVG document, the script contained should poll 
the web server every (let's say) some second.
Basically, the plugin asks/posts for "news" to the web server and it waits for 
the answer.

In my app I have used a different port than the (default) 80, just to avoid 
collisions with "real" web servers (IIS, Apache, etc).

Just drop me your email, I'll try to collect a simple app to show how it 
works.
In case you are in a hurry, take a look for some web server sample in 
http://www.planet-source-code.com

Have a nice day.
Mario



On Tuesday 07 December 2004 07:48, kanmac1 wrote:
>  Thanks Mario for Your suggestion.
>  But then how such a small web server should like. How do you
>  comunicate embedded SVG object from VB? Maybe You can give me a few
>  hints, since I've got no clue how it should look like.
>  Thank You
>  Maciek
>  --- In [EMAIL PROTECTED], Mario Vernari <[EMAIL PROTECTED]>
>
>  wrote:
>  > Hi,
>  > I unsuggest to use SVG via ActiveX hosting in VB6.
>  > I have a long experience in this field and finally I switched to
>
>  embed a small
>
>  > web server in the VB app, then show all the SVG content by a Internet
>  > Explorer ActiveX.
>  > Believe me: this way is the most sure and stable.
>  > Comparing the convenience between code complexity and
>  > debugging/stability/result, the web server choice is better.
>  > Cheers
>  > Mario
>
>  -
>  To unsubscribe send a message to:
> [EMAIL PROTECTED] -or-
>  visit http://groups.yahoo.com/group/svg-developers and click "edit my
> membership" 
>
>
>
>
> Yahoo! Groups Sponsor
>
>
>
> ADVERTISEMENT
>
>
>
>
>
>
>
>  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.


 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~-> 

-
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] javascript - djikstra

2004-12-08 Thread e2mieluv


Hi again guys,

I'm posting this in related to my shortest-path map project using SVG.
Anyone has djikstra coding in javascript i would appreciate having 
it.I tried looking for it on the web but unsuccessfully. I just need 
a very simple program that would able me to search for shortest path 
using djikstra.ure help would very much be appreaciate. 

Oh,and how do i pass the value-points selected from SVG to javascript 
to calculate the shortest path?

Please email me

[EMAIL PROTECTED]
cha

thanks ppl





 Yahoo! Groups Sponsor ~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM
~-> 

-
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: Simulate Ctrl & Alt Key Press to Zoom and Pan

2004-12-08 Thread Richard Gnyla

Its an external javascript, only thing we have is an ID in SVG for the
javascript to reference to

 

 

Richard

 

   _  

From: jgitraining [mailto:[EMAIL PROTECTED] 
Sent: 08 December 2004 18:33
To: [EMAIL PROTECTED]
Subject: [svg-developers] Re: Simulate Ctrl & Alt Key Press to Zoom and Pan

 


Hi Richard,

Thanks for the link, that is similiar to what I'll need to do. The 
only difference is that when the user clicks on the zoom in button, 
it stays pressed in and the user clicks on the area that will be 
zoomed into.

I was hoping to find a way get the magnifying glass cursor to 
appear, but I don't see a way to do it. There isn't a method to turn 
on the zoom or pan functions in the viewer like the Ctrl and Alt 
keys do. I was wondering if there was a way to simulate or trick the 
viewer that the Ctrl or Alt key was pressed. 

I tried sending different combinations of the keypress, keydown, 
mouseover, and focus events with the key code and character code to 
the viewer, without success of course.

Is the javascript external of the SVG or internal?

Trent


--- In [EMAIL PROTECTED], "Richard Gnyla" 
<[EMAIL PROTECTED]> wrote:
> Hi
> 
>  
> 
> Have a look at our site 
HYPERLINK "HYPERLINK
"http://www.eventex.net/"http://www.eventex.net/"www.eventex.net
> 
>  
> 
> Go to demo > list floorplans > Online demo >
> 
>  
> 
> Once the page loads up you can zoom and pan, but it is all written 
in
> javascript, only works in IE at the moment until we make it cross 
browser
> compatible.
> 
>  
> 
> If you like then I can let you know more how its done as we have 
extra stuff
> in like zoom to area and so on.
> 
>  
> 
> Regards






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit HYPERLINK
"http://groups.yahoo.com/group/svg-developers"http://groups.yahoo.com/group/
svg-developers and click "edit my membership"
 






Yahoo! Groups Sponsor



ADVERTISEMENT
HYPERLINK
"http://us.ard.yahoo.com/SIG=129hsf8r5/M=298184.5639630.6699735.3001176/D=gr
oups/S=1706030389:HM/EXP=1102617279/A=2434971/R=0/SIG=11eeoolb0/*http:/www.n
etflix.com/Default?mqso=60185400"click here


 HYPERLINK
"http://us.adserver.yahoo.com/l?M=298184.5639630.6699735.3001176/D=groups/S=
:HM/A=2434971/rand=978436607"

 

   _  

Yahoo! Groups Links

*   To visit your group on the web, go to:
HYPERLINK
"http://groups.yahoo.com/group/svg-developers/"http://groups.yahoo.com/group
/svg-developers/
  
*   To unsubscribe from this group, send an email to:
HYPERLINK
"mailto:[EMAIL PROTECTED]"svg-d
[EMAIL PROTECTED]
  
*   Your use of Yahoo! Groups is subject to the HYPERLINK
"http://docs.yahoo.com/info/terms/"Yahoo! Terms of Service. 


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004
 


[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM
~-> 

-
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: http://www.svg-cafe.com up again

2004-12-08 Thread Alexander Adam


hi,

> I just get a page displaying the letters "un" when I visit your 
link. 
> Is it broken again?

Yes seems like our provider is too stupid to fix the security hole 
and they hacked the page again :(
I'll phone tomorrow our provider and if there's no solution I will 
have to take the site of because of the hackers :(

Alex





 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~-> 

-
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: http://www.svg-cafe.com up again

2004-12-08 Thread Sherm


Alexander,

I just get a page displaying the letters "un" when I visit your link. 
Is it broken again?

Sherm

--- In [EMAIL PROTECTED], "Alexander Adam" 
<[EMAIL PROTECTED]> wrote:
> 
> hi group!
> 
> The SVG Cafe is finally up and running again after the page was 
> hacked. Sorry for troubles and I'd be happy to see you soon again 
on 
> the Café!
> 
> thanks,
> Alexander





 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~-> 

-
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 expose & manipulate external SVG objects

2004-12-08 Thread Sherm


I'm trying to modify an existing SVG/javascript app to be as modular 
and small as possible. I'm breaking a large SVG file (600k +) into 
smaller modules so that only the necessary parts are loaded, greatly 
reducing the initial loading time.

I'm using getURL(), parseXML() and appendChild() functions to import 
SVG objects. I can easily get the external object to appear, but I 
can't figure out how to expose the object in the DOM to manipulate 
fill and stroke attributes, or to transform the object in any way.

Is this possible with these functions, or are they currently limited 
to just display-only, like an ?

thanks in advance for your assistance.

Sherm Stevens
  





 Yahoo! Groups Sponsor ~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM
~-> 

-
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] XMl 2 SVG

2004-12-08 Thread Rick Bullotta

Fear not, nothing heinous.  I share the same concerns you do.  I think it is
ridiculous some of the patents that have been applied for (and granted). It
bugs me to no end.  I've seen things like the SCO suit which is a last-ditch
desperation move by a dying company, and the many ridiculous dot-com
lawsuits, and even some in our industry (manufacturing) around what was
supposed to be an "open standard".

 

In fact, I've always been pretty willing to share what we've been doing as
far as the SVG animation part of it.  Just that no one seemed to be
interested ;).

 

The "unique" stuff we're doing is more in our connectivity and data binding
approach to manufacturing and ERP data sources.

 

I'm all for opening up and sharing what we're doing around SVG and
visualization.  We gain significant value from open source efforts and have
contributed (code, testing, and $$$) to many of them.

 

Things like W3C-driven standards efforts have always seemed like a bit of a
closed club.  Irregardless, I'd be all for a "non-standard" but valuable
open source effort around this type of effort.

 

Anyone interested?

 

- Rick

 

 

 

-Original Message-
From: Barend Köbben [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 08, 2004 3:09 PM
To: [EMAIL PROTECTED]
Subject: RE: [svg-developers] XMl 2 SVG

 

 

Rick,

 

although I recognise the need of the possibility to actually earn money
using an open standard like SVG, the hair on the back of my neck stood up
when I read "created a (patent applied for) model ". Apart from the obvious
question what on earth you guys might think is unique in your 'model',
software developers in the'open' community in Europe are currently trying to
convince the EU not to follow the  disastrous road of patenting that eg the
US has been taking. 

 

Come on people, we are in serious threat of living , in a few years from
now, in a world where big companies will sue you for making a program that
uses the concept "it starts loading data when you use an 'open menu'
command", just because they happen to have been the first who patented this
"unique idea"...

 

Barend Köbben 

International Institute for Geo-information Sciences and  Earth Observation
(ITC) 

PO Box 6, 7500AA Enschede (The Netherlands) 



[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM
~-> 

-
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] XMl 2 SVG

2004-12-08 Thread Barend Köbben

Rick,
 
although I recognise the need of the possibility to actually earn money using 
an open standard like SVG, the hair on the back of my neck stood up when I read 
"created a (patent applied for) model ". Apart from the obvious question what 
on earth you guys might think is unique in your 'model', software developers in 
the'open' community in Europe are currently trying to convince the EU not to 
follow the  disastrous road of patenting that eg the US has been taking. 
 
Come on people, we are in serious threat of living , in a few years from now, 
in a world where big companies will sue you for making a program that uses the 
concept "it starts loading data when you use an 'open menu' command", just 
because they happen to have been the first who patented this "unique idea"...
 
Barend Köbben 
International Institute for Geo-information Sciences and  Earth Observation 
(ITC) 
PO Box 6, 7500AA Enschede (The Netherlands) 
ph: +31-(0)534874253; fax: +31-(0)534874335 
_ 



From: Rick Bullotta [mailto:[EMAIL PROTECTED]
Sent: Wed 08-Dec-04 15:33
To: [EMAIL PROTECTED]
Subject: RE: [svg-developers] XMl 2 SVG




We built our own, for a very specific purpose (manufacturing and executive
dashboards).  Corel was doing some stuff, as was Beatware (though not
SVG-specific, if I recall).

We explored XSL as one approach and found it to get "in the way". Instead,
created a (patent applied for) model by which we have:

1) The "raw" SVG (a SVG drawing of some sort)
2) The "properties" of the SVG drawing that are to be mappable/configurable
3) The "mappings" from the abstract "properties" to specific SVG
elements/attributes
4) The "raw" data (one or more XML documents containing data)
5) The "expressions" which populate those properties from the data

The key reason for the "properties" abstraction was to expose top-level
"typed" properties for the visualization object.  For example, if we created
some type of dial gauge, the "properties" might include:

- Background color
- Needle color
- Minimum range
- Maximum range
- Value
- Label
- NumberFormat

Then, through a visual GUI, these abstract properties were bound, using
fairly rich expressions (a bit more than ECMA script) to the appropriate SVG
elements/attributes.

Lastly, through another visual GUI, these "generic" display objects could
have their properties bound (once again, via expressions) to data.  The
other "special sauce" in this GUI was hiding the ugliness of Xpath from the
user and allowing them to drag-and-drop from XML documents to the property
mapper/expression editor.

>From a technology perspective, there's nothing special needed other than an
XML parser (.NET or Java).  The actual rendering can be done server-side
(via a web service) or client-side (via a helper applet and the Adobe
viewer).  To accomplish the outbound server-side rendering to an image, we
have created separate server-side components that leverage
SharpVectorGraphics on the .NET platform and Batik in Java environments.

Hope that gives you some idea of what it possible!

Rick Bullotta
CTO
Lighthammer Software (http://www.lighthammer.com)

-Original Message-
From: A.M.Shourbagui [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 6:09 AM
To: [EMAIL PROTECTED]
Subject: [svg-developers] XMl 2 SVG


hi guys is there yet any tool that maps xml nodes to
svg elements..or visual editor for creating xsl that
transforms an xml to svg...
thnx
kojo


   
__
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.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 unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"

Yahoo! Groups Links











[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM
~-> 

-
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: Simulate Ctrl & Alt Key Press to Zoom and Pan

2004-12-08 Thread jgitraining


Hi Richard,

Thanks for the link, that is similiar to what I'll need to do. The 
only difference is that when the user clicks on the zoom in button, 
it stays pressed in and the user clicks on the area that will be 
zoomed into.

I was hoping to find a way get the magnifying glass cursor to 
appear, but I don't see a way to do it. There isn't a method to turn 
on the zoom or pan functions in the viewer like the Ctrl and Alt 
keys do. I was wondering if there was a way to simulate or trick the 
viewer that the Ctrl or Alt key was pressed. 

I tried sending different combinations of the keypress, keydown, 
mouseover, and focus events with the key code and character code to 
the viewer, without success of course.

Is the javascript external of the SVG or internal?

Trent


--- In [EMAIL PROTECTED], "Richard Gnyla" 
<[EMAIL PROTECTED]> wrote:
> Hi
> 
>  
> 
> Have a look at our site 
HYPERLINK "http://www.eventex.net/"www.eventex.net
> 
>  
> 
> Go to demo > list floorplans > Online demo >
> 
>  
> 
> Once the page loads up you can zoom and pan, but it is all written 
in
> javascript, only works in IE at the moment until we make it cross 
browser
> compatible.
> 
>  
> 
> If you like then I can let you know more how its done as we have 
extra stuff
> in like zoom to area and so on.
> 
>  
> 
> Regards






 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~-> 

-
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: music and fonts and graphics

2004-12-08 Thread Aaron

On Wed, 2004-12-08 at 17:17, Thomas DeWeese wrote:
> Aaron wrote:
> 
> > Hmn I doubt there was a unicode music font when they started and they
> > were creating a special purpose type one font.
> > 
> > I don't have to use feta I guess.
> 
> I would use Feta and provide a mapping from characters to
> glyphs that you feel is useful. 

well is 1D19C STROKE-3 + ID19D STROKE-3 prall useful? ie the feta font
glyph is prall but unicode uses the combination of 1D19C STROKE-3 +
ID19D STROKE-3.

when I want a prall in lilyxml I must call 1D19C STROKE-3 + ID19D
STROKE-3 and it will give me the feta prall.

but I can't give prall an encoding of 1D19C STROKE-3 + ID19D STROKE-3
can I?

>  An SVG font can have
> ligatures (multiple characters that map to a single glyph).
> Since I can't find any good description of the design of
> the feta font I can't really tell if this will be useful to
> you.
Or maybe I will use feta but add the missing partial glyphs that unicode
uses to create expressions with...

maybe I will just write to the developers of lilypond.
> 
> I suspect that the text generated will be a bit complex.
> Something like "a2a"  where "a" produces the note head and
> "2a" produces the 1/2 note "a" stem or something.  You can't have
> "a2" (or "2a" produce a "2a" ligature glyph and an "a" glyph).
> You could have a "2a" ligature that includes the head and the stem.
> 
I see.

Thanks
Aaron
> > Anyone know of a unicode font that has all the symbols?
> > 
> > I could I guess make my own font if I have to.
> > 
> > but I am not sure how to use the unicode encoding, it seems that in
> > unicode I must combine glyphs to acheive many normal glyphs for music.
> > 
> > this seems to add a lot of complication to the issue of displaying
> > music.
> > 
> > I am now most confused.
> 
> 
> 
> 
> -
> 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
> 
> 
> 
>  
> 
> 
> 



 Yahoo! Groups Sponsor ~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM
~-> 

-
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: music and fonts and graphics

2004-12-08 Thread Thomas DeWeese

Aaron wrote:

> Hmn I doubt there was a unicode music font when they started and they
> were creating a special purpose type one font.
> 
> I don't have to use feta I guess.

I would use Feta and provide a mapping from characters to
glyphs that you feel is useful.  An SVG font can have
ligatures (multiple characters that map to a single glyph).
Since I can't find any good description of the design of
the feta font I can't really tell if this will be useful to
you.

I suspect that the text generated will be a bit complex.
Something like "a2a"  where "a" produces the note head and
"2a" produces the 1/2 note "a" stem or something.  You can't have
"a2" (or "2a" produce a "2a" ligature glyph and an "a" glyph).
You could have a "2a" ligature that includes the head and the stem.

> Anyone know of a unicode font that has all the symbols?
> 
> I could I guess make my own font if I have to.
> 
> but I am not sure how to use the unicode encoding, it seems that in
> unicode I must combine glyphs to acheive many normal glyphs for music.
> 
> this seems to add a lot of complication to the issue of displaying
> music.
> 
> I am now most confused.



 Yahoo! Groups Sponsor ~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM
~-> 

-
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: music and fonts and graphics

2004-12-08 Thread Aaron

Hmn I doubt there was a unicode music font when they started and they
were creating a special purpose type one font.


I don't have to use feta I guess.

Anyone know of a unicode font that has all the symbols?

I could I guess make my own font if I have to.

but I am not sure how to use the unicode encoding, it seems that in
unicode I must combine glyphs to acheive many normal glyphs for music.

this seems to add a lot of complication to the issue of displaying
music.

I am now most confused.
Thanks
Aaron



 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~-> 

-
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] XMl 2 SVG

2004-12-08 Thread Mark Birbeck

Rick,

I'm intrigued that you applied for a patent. What part of this process is in
your view unique?

Regards,

Mark


Mark Birbeck
CEO
x-port.net Ltd.

e: [EMAIL PROTECTED]
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/

Download our XForms processor from
http://www.formsPlayer.com/

> -Original Message-
> From: Rick Bullotta [mailto:[EMAIL PROTECTED] 
> Sent: 08 December 2004 14:33
> To: [EMAIL PROTECTED]
> Subject: RE: [svg-developers] XMl 2 SVG
> 
> 
> 
> We built our own, for a very specific purpose (manufacturing 
> and executive dashboards).  Corel was doing some stuff, as 
> was Beatware (though not SVG-specific, if I recall).
> 
> We explored XSL as one approach and found it to get "in the 
> way". Instead, created a (patent applied for) model by which we have:
> 
> 1) The "raw" SVG (a SVG drawing of some sort)
> 2) The "properties" of the SVG drawing that are to be 
> mappable/configurable
> 3) The "mappings" from the abstract "properties" to specific 
> SVG elements/attributes
> 4) The "raw" data (one or more XML documents containing data)
> 5) The "expressions" which populate those properties from the data 
> 
> The key reason for the "properties" abstraction was to expose 
> top-level "typed" properties for the visualization object.  
> For example, if we created some type of dial gauge, the 
> "properties" might include:
> 
> - Background color
> - Needle color
> - Minimum range
> - Maximum range
> - Value
> - Label
> - NumberFormat
> 
> Then, through a visual GUI, these abstract properties were 
> bound, using fairly rich expressions (a bit more than ECMA 
> script) to the appropriate SVG elements/attributes.
> 
> Lastly, through another visual GUI, these "generic" display 
> objects could have their properties bound (once again, via 
> expressions) to data.  The other "special sauce" in this GUI 
> was hiding the ugliness of Xpath from the user and allowing 
> them to drag-and-drop from XML documents to the property 
> mapper/expression editor.
> 
> From a technology perspective, there's nothing special needed 
> other than an XML parser (.NET or Java).  The actual 
> rendering can be done server-side (via a web service) or 
> client-side (via a helper applet and the Adobe viewer).  To 
> accomplish the outbound server-side rendering to an image, we 
> have created separate server-side components that leverage 
> SharpVectorGraphics on the .NET platform and Batik in Java 
> environments.
> 
> Hope that gives you some idea of what it possible!
> 
> Rick Bullotta
> CTO
> Lighthammer Software (http://www.lighthammer.com)
> 
> -Original Message-
> From: A.M.Shourbagui [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 08, 2004 6:09 AM
> To: [EMAIL PROTECTED]
> Subject: [svg-developers] XMl 2 SVG
> 
> 
> hi guys is there yet any tool that maps xml nodes to
> svg elements..or visual editor for creating xsl that
> transforms an xml to svg...
> thnx 
> kojo
> 
> 
>   
> __ 
> Do you Yahoo!? 
> Meet the all-new My Yahoo! - Try it today! 
> http://my.yahoo.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
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> 
> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
> Now with Pop-Up Blocker. Get it for free! 
> http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
> --
> --~-> 
> 
> -
> 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
> 
> 
> 
>  
> 
> 
> 
> 
> 





 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~-> 

-
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: music and fonts and graphics

2004-12-08 Thread skatethere


--- In [EMAIL PROTECTED], Aaron <[EMAIL PROTECTED]> wrote:
> Well I see how they reach all the musical symbols now in unicode.
> 
> The combine pieces together or they use symbols from elsewhere in
the
> unicode set.
> 
> Which means I have now no idea how I will get unicode =feta
> so can I do this?
> 
> 1D19C STROKE-2 + 1d1a0 STROKE-6 +1D19D STROKE-3MORDENT

If you mean, can you make an SVG glyph that combines several other
glyphs, I don't know how to do so without combining the paths
manually. I don't know how to make a compound glyph. Perhaps ChrisL
can make a recommendation.
 
> if this is the way I am still stuck with the symbols that are not 
> unique to music but not standard for regular fonts.

Yup. I don't see an easy way to reconcile Feta with the Unicode
charset. It sure would be nice if the Lilypond creators had considered
that when designing the fonts.

I don't know enough about private codepage definition to make a
recommendation on how to proceed when the approved codepages don't
suit your purpose.

  --kirby





 Yahoo! Groups Sponsor ~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM
~-> 

-
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] XMl 2 SVG

2004-12-08 Thread Rick Bullotta

We built our own, for a very specific purpose (manufacturing and executive
dashboards).  Corel was doing some stuff, as was Beatware (though not
SVG-specific, if I recall).

We explored XSL as one approach and found it to get "in the way". Instead,
created a (patent applied for) model by which we have:

1) The "raw" SVG (a SVG drawing of some sort)
2) The "properties" of the SVG drawing that are to be mappable/configurable
3) The "mappings" from the abstract "properties" to specific SVG
elements/attributes
4) The "raw" data (one or more XML documents containing data)
5) The "expressions" which populate those properties from the data 

The key reason for the "properties" abstraction was to expose top-level
"typed" properties for the visualization object.  For example, if we created
some type of dial gauge, the "properties" might include:

- Background color
- Needle color
- Minimum range
- Maximum range
- Value
- Label
- NumberFormat

Then, through a visual GUI, these abstract properties were bound, using
fairly rich expressions (a bit more than ECMA script) to the appropriate SVG
elements/attributes.

Lastly, through another visual GUI, these "generic" display objects could
have their properties bound (once again, via expressions) to data.  The
other "special sauce" in this GUI was hiding the ugliness of Xpath from the
user and allowing them to drag-and-drop from XML documents to the property
mapper/expression editor.

>From a technology perspective, there's nothing special needed other than an
XML parser (.NET or Java).  The actual rendering can be done server-side
(via a web service) or client-side (via a helper applet and the Adobe
viewer).  To accomplish the outbound server-side rendering to an image, we
have created separate server-side components that leverage
SharpVectorGraphics on the .NET platform and Batik in Java environments.

Hope that gives you some idea of what it possible!

Rick Bullotta
CTO
Lighthammer Software (http://www.lighthammer.com)

-Original Message-
From: A.M.Shourbagui [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 08, 2004 6:09 AM
To: [EMAIL PROTECTED]
Subject: [svg-developers] XMl 2 SVG


hi guys is there yet any tool that maps xml nodes to
svg elements..or visual editor for creating xsl that
transforms an xml to svg...
thnx 
kojo



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.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



 






 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~-> 

-
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: music and fonts and graphics

2004-12-08 Thread Aaron

Well I see how they reach all the musical symbols now in unicode.

The combine pieces together or they use symbols from elsewhere in the
unicode set.


Which means I have now no idea how I will get unicode =feta

so can I do this?

1D19C STROKE-2 + 1d1a0 STROKE-6 +1D19D STROKE-3MORDENT


if this is the way I am still stuck with the symbols that are not unique
to music but not standard for regular fonts.

Aaron



 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~-> 

-
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: music and fonts and graphics

2004-12-08 Thread Aaron


> 
> perl -ne 'chomp;($name=$_)=~s/^.*glyph-name=\"([^"]+)\".*$/$1/g;print
> $name, "\n" if /glyph-name/;' < font.svg
> 

wow that works nicely.
> > Is there a way by command line to do this?
> > how do I do this for each charactor in the font? 
> 
> Once you create a file of unicode values-> glyph-name mappings, in the
> following format:
> 
> 𝄞   trebleclef
> 𝄻   wholerest
> 

this is crazy the feta font has so many glyphs that the unicode encoding
doesn't have. Very frustrating. 
Does this mean I am stuck and can't use the feta font now? I gather
other fonts also have the same problem.

Aaron



 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~-> 

-
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: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-08 Thread Peter Thompson

The following code displays a hierarchy of rectangles that can expand/collapse. 
 You can click on a rectangle with children to hide/show the children, 
expanding and contracting the tree as required.  The groups provide the 
hierarchies.  I've only run it in ASVG3.
 

http://www.w3.org/2000/svg"; width='100%' height='100%' 
onload="init(evt)">

  
  
  


  
  
  
  
  


  
  

  

  
  
  






 


-
Do you Yahoo!?
 Read only the mail you want - Yahoo! Mail SpamGuard.

[Non-text portions of this message have been removed]



 Yahoo! Groups Sponsor ~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/1U_rlB/TM
~-> 

-
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] XMl 2 SVG

2004-12-08 Thread A.M.Shourbagui

hi guys is there yet any tool that maps xml nodes to
svg elements..or visual editor for creating xsl that
transforms an xml to svg...
thnx 
kojo



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 



 Yahoo! Groups Sponsor ~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
~-> 

-
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] Simulate Ctrl & Alt Key Press to Zoom and Pan

2004-12-08 Thread Richard Gnyla

Hi

 

A javascript file does all the hard work by controlling the SVG file, also
there is a toggle button to control whether the user wants the zoom / pan
animated or not, with hidden fields in the html to determine the control.

 

Although this is specific to us, If you want me to send over the files for
you to hack to suit your application then let me know.

 

This wont work in Mozilla yet as the DOM is different, but we aim to resolve
this in the future.

 

 

RIchard

 

   _  

From: Quang Nguyen [mailto:[EMAIL PROTECTED] 
Sent: 08 December 2004 01:52
To: [EMAIL PROTECTED]
Subject: RE: [svg-developers] Simulate Ctrl & Alt Key Press to Zoom and Pan

 

Hi Richard, I'm very interested in your demo. Can you show me how you do
that ?
Thanks
Quang

  _  

From: Richard Gnyla [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 07, 2004 11:10 PM
To: [EMAIL PROTECTED]
Subject: RE: [svg-developers] Simulate Ctrl & Alt Key Press to Zoom and Pan

Hi



Have a look at our site HYPERLINK "HYPERLINK
"http://www.eventex.net/"http://www.eventex.net/"www.eventex.net



Go to demo > list floorplans > Online demo >



Once the page loads up you can zoom and pan, but it is all written in
javascript, only works in IE at the moment until we make it cross browser
compatible.



If you like then I can let you know more how its done as we have extra stuff
in like zoom to area and so on.



Regards







   _  

From: jgitraining [mailto:[EMAIL PROTECTED] 
Sent: 07 December 2004 14:55
To: [EMAIL PROTECTED]
Subject: [svg-developers] Simulate Ctrl & Alt Key Press to Zoom and Pan




Is there a way to simulate the Ctrl and Alt key press to zoom or pan?

We're using ASV3 and I need to make a tool bar that has a zoom in, 
zoom out, and pan function. For example, clicking on the magnifying 
glass button in the tool bar will do the same as pressing the Ctrl 
key on the keyboard.

Any help or ideas would be greatly appreciated.

Thanks,

Trent





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit HYPERLINK
"HYPERLINK
"http://groups.yahoo.com/group/svg-developers"http://groups.yahoo.com/group/
svg-developers"HYPERLINK
"http://groups.yahoo.com/group/"http://groups.yahoo.com/group/
svg-developers and click "edit my membership"
 






Yahoo! Groups Sponsor



ADVERTISEMENT
HYPERLINK
"HYPERLINK
"http://us.ard.yahoo.com/SIG=1291o5lta/M=294855.5468653.6549235.3001176/D=gr
"http://us.ard.yahoo.com/SIG=1291o5lta/M=294855.5468653.6549235.3001176/D=gr
oups/S=1706030389:HM/EXP=1102517840/A=2455397/R=0/SIG=119u9qmi7/*http:/small
business.yahoo.com/domains/" \nclick here


HYPERLINK
"HYPERLINK
"http://us.adserver.yahoo.com/l?M=294855.5468653.6549235.3001176/D=groups/S=
"http://us.adserver.yahoo.com/l?M=294855.5468653.6549235.3001176/D=groups/S=
:HM/A=2455397/rand=402569624"



   _  

Yahoo! Groups Links

*  To visit your group on the web, go to:
HYPERLINK
"HYPERLINK
"http://groups.yahoo.com/group/svg-developers/"http://groups.yahoo.com/group
/svg-developers/"HYPERLINK
"http://groups.yahoo.com/group"http://groups.yahoo.com/group
/svg-developers/
  
*  To unsubscribe from this group, send an email to:
HYPERLINK
"mailto:[EMAIL PROTECTED]"svg-d
[EMAIL PROTECTED]
  
*  Your use of Yahoo! Groups is subject to the HYPERLINK
"HYPERLINK
"http://docs.yahoo.com/info/terms/"http://docs.yahoo.com/info/terms/"Yahoo!
Terms of Service. 


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (HYPERLINK
"http://www.grisoft.com)."http://www.grisoft.com).
Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (HYPERLINK
"http://www.grisoft.com)."http://www.grisoft.com).
Version: 6.0.805 / Virus Database: 547 - Release Date: 03/12/2004



[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit HYPERLINK
"http://groups.yahoo.com/group/svg-developers"http://groups.yahoo.com/group/
svg-developers and click "edit my
membership"
 





Yahoo! Groups Sponsor


ADVERTISEMENT

http://us.ard.yahoo.com/SIG=129294ooa/M=298184.5639630.6699735.3001176/D=gr
"http://us.ard.yahoo.com/SIG=129294ooa/M=298184.5639630.6699735.3001176/D=gr
oups/S=1706030389:HM/EXP=1102522197/A=2434971/R=0/SIG=11eeoolb0/*http:/www.n
etflix.com/Default?mqso=60185400> click here


http://us.adserver.yahoo.com/l?M=298184.5639630.6699735.3001176/D=groups/S=
"http://us.adserver.yahoo.com/l?M=298184.5639630.6699735.3001176/D=groups/S=
:HM/A=2434971/rand=321404234> 

  _  

Yahoo! Groups Links
*  To visit your group on the web, go to:
HYPERLINK
"http://groups.yahoo.com/group/svg-developers/"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
http://docs.yahoo.com/info/terms/"http://docs.ya

Re: [svg-developers] Re: Expanding and collapsing sections of bargrap hs using SVG - Can it be done?

2004-12-08 Thread Jérôme Tricand de la Goutte

Hi Patricia,

I was planing to implement a tree view. So here is how I see it :
 - I would use a personnal namespace, let say "tree"
 - I would create my structure in my svg file as, for example

   The text of the parent
   
   
   The text of the child1
   
   
   
   The text of the child2
   
   
   The text of the underchild1
   
   
   
   
- at the onload event of  my svg, I would run a function "initTree()" 
converting this structure in standard SVG element, with events and 
personnal attributes as

 
 The text of the parent
 
 
 
 The text of the child1
 
  
  
 
 The text of the child2
 

 
 The text of the 
underchild1
 
  
  

tree:index represent the number of  tabulation, ie the level in 
hierarchy of an element.
tree:width is the width of the bounding box of an element with its childs
tree:height if the height of the bounding bos of an element with its childs.

Those two values are used by the function showhidechild to calculate the 
new translate of any nextsibling element when you show one element.
For example, say you have the folowing structure:
1shown
   2shown
  3unshown
  4shown
   5shown
  6shown
  7shown
8   shown
   9 shown
  10   shonw

and you want to show 3. You will have to translate 4, 5 and 8, ie the 
nextsibling element of 3, 2 and 1, ie the nextsibing element of every 
parent of the element you want to show and itself.
You will have to add to the translate value of those elements (4, 5 and 
8) the height of the element 3, then display 3

If you want to hide one element, you will have to remove the height of 3 
of the translate value 4, 5 and 8.

That said, you can imagine what initTree should do :
read the tree:elements
creatre the structure using  elements
compute the height of any element
hide all the child elements at first

And showhidechild() should do
get the element that needs to be expanded or reduce (A)
get the size of A
add or remove this size to the translate of any nextsibing of any 
parent of A
show or hide the childs of A

And this should work.


If you want to add or remove an child, don't forget to compute the new 
size of any parent of this

As you see, this shoud work for any type of child (text, graph, ... )


I hope it helps you.
but I would be pleased to have you comments, if it works and so...

Jérôme

Patricia LaRue wrote:

>Hi, Doug:
> 
>I responded to this earlier but as I read and learn more I am particularly 
>interested in your comments.  If I were to implement your version of the 
>solution, can you give me an idea of how it would be done?  Could it be done 
>in a object/tree structure?  Is it possible to set up objects for each task, 
>set the attributes (including a text attribute), add the element as a parent 
>or child element, and show/hide the child elements on click events?  How did 
>you do it?  All I need is an idea, I'll do the research.
> 
>Thanks a bunch,
>Patricia
> 
>
>Doug Schepers <[EMAIL PROTECTED]> wrote:
>Sorry, Peter, yes, I should have been more clear.
>
>I have no problem with the expanding/contracting bargraph idea, though it
>doesn't seem that tricky to me. Unless I'm misunderstanding something, I've
>seen (and done) similar things in SVG in the past, and I don't recall any
>particular challenges.
>
>I was speaking out against the misuse of glyphs. Too be fair to Philip,
>though, it's not unheard of in the computing tradition. In the Dark Ages of
>Computing, many specialized fonts used shape glyphs, for circuit diagrams
>and maps and other non-text compositional elements, as a kind of old-school
>'use' or 'symbol', in order to save memory on frequently-used shapes. There
>are large blocks of Unicode dedicated to this legacy, and I was told
>recently that certain industries still use this odd practice. 
>
>Regards-
>Doug
>
>doug . schepers  @ vectoreal.com
>www.vectoreal.com ...for scalable solutions.
>
>
>Peter Thompson wrote:
>| 
>| Patricia - It sounds like you are displaying a Gantt chart.  
>| I like Philip's first suggestion, perhaps because I haven't 
>| used glyphs.  I assume that you have a tree data structure 
>| somewhere with the parent/child relationships between the 
>| task/subtasks.  I'd use that to build a corresponding tree in 
>| SVG, then change visibility and the translate transform for 
>| each expand/contract.
>| 
>| Doug - Are you saying "don't use the glyph idea" or don't do 
>| the expanding/contracting bargraph?
>| 
>
>
>
>-
>To unsubscribe send a message to: [EMAIL PROTECTED]
>-or-
>visit http://groups.yahoo.com/group/svg-developers and click