[svg-developers] Re: rendering speed - batik vs. asv

2005-03-08 Thread higorion


Hi Jeff,

thank's for your answer. sound like an elegant solution, but

... unfortunately i have not been able to implement those functions 
yet, since calling on svgRoot (SVGOMSVGElement) in javascript, batik 
will raise an error (java.lang.Error), and, after building evertyhing 
in pure java, i got the same error there.

i use something like:



svgRoot = svgCanvas.getSVGDocument().getRootElement();
int id = svgRoot.suspendRedraw(100);



svgRoot.unsuspendRedraw(id);
svgRoot.forceRedraw();



are there any special rules, as how to place these function calls? 
does the dom have to be in any special state? anthing else to 
consider?

i'd be forever grateful for any answers.

regards,
Hannes Fleischer

p.s. what's this all about anyways? have a look at some preview 
scrrenshots at:
http://www.igorion.com/_suspension2




--- In svg-developers@yahoogroups.com, Jeff Rafter [EMAIL PROTECTED] wrote:
 Hannes,
 
 The problem/difference is that Adobe caches rendering updates until 
the 
 Javascript interpretter has completed. Meaning: when a 
function/event is 
 called all of the code is executed then the rendering update is 
 completed when ASV regains control. You can approximate this in 
Batik 
 using suspendRedraw, forceRedraw at the beginning and end of your 
 functions. You should see and incredible performance gain.
 
 All the best,
 Jeff Rafter
 
 higorion wrote:
  
  hi,
  
  after developing svg applications for some time using adobe svg 
  viewer i have tried batik squiggle viewer for the first time.
  
  i was very disappointed with the batik viewer performance (slower 
by 
  a factor of 3-5 compared to the adobe viewer).
  
  as seen in this very simple animated example:
  http://www.igorion.com/_hf_files/rendering_test.svg
  
  
  
  can batik's performance be improved by not using the java-
javascript 
  interpreter but rather modifying the dom directly from java? 
  
  i was planning to build a standalone svg application using 
batik's 
  JSVGCanvas, but assuming that they have built their squiggle 
viewer 
  around that same class, this doesn't seem very promising to me 
now.
  
  has anyone got any good advice for me concerning a fast svg 
  implementation that can also be used standalone (preferrably with 
  filesystem access).
  
  thanks for any answers,
  
  hannes fleischer
  
  
  
  
  
  -
  To unsubscribe send a message to: svg-developers-
[EMAIL PROTECTED]
  -or-
  visit http://groups.yahoo.com/group/svg-developers and 
click edit my membership
   
  Yahoo! Groups Links
  
  
  
   
  
  
  
 





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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Can xml data be put in svg?

2005-03-08 Thread thirumalai_selvan


hi, i'm a beginner. can xml data be used in svg? any examples please!

greets,
thiru :)





-
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: Differences in browser Javascript engine vs ASV Javascript engine

2005-03-08 Thread Aashish Singhvi


re:  For a more complete solution, refer to:
  
http://article.gmane.org/gmane.text.xml.svg.devel/12299/match=onunloa
d+crash
 


Thanks for the input. However, I was unable to specify 
parent.onbeforeunload in the init (onload) function of my 
Javascript. It says this is not implemented.  
Also, could you help me on what is the syntax for removing an Event 
Listner. Is it element.removeEventListener?

Thanks
-Aashish

--- In svg-developers@yahoogroups.com, skatethere 
[EMAIL PROTECTED] wrote:
 
 --- In svg-developers@yahoogroups.com, Aashish Singhvi
 [EMAIL PROTECTED] wrote:
  
  Hi,
  I am using a Javascript function script (Kevin Lindsey's slider)
 that 
  defines a scrollbar class which can be instantiated in my SVG's 
  javascript to create instance of scroll bars depending on where 
  required etc.
  
  The issue is that a refresh of the browser was causing a crash. 
I 
  debugged it down to the fact that I need to specify 
  xmlns:a3=http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/;
  a3:scriptImplementation=Adobe for the slider javascript file 
and
 in 
  the JS where I am instantiating the slider.
 
 No, specifying the ASV internal javascript engine is not problem. 
The
 problem is a breakdown between IE and ASV in unloading javascript
 event listeners. Using the internal script engine merely works 
around
 this bug. The bug is specific to ASV+IE+Javascript event listeners.
 
 For a more complete solution, refer to:
  
http://article.gmane.org/gmane.text.xml.svg.devel/12299/match=onunloa
d+crash
 
 Kevin discusses a proper fix for deregistering the eventlisteners
 before unload.
 
 Thanks,
   --kirby





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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: Differences in browser Javascript engine vs ASV Javascript engine

2005-03-08 Thread André M. Winter - Carto.net

hi,

if i remember well, onbeforeunload (and others) are MSIE5 methods, no 
more supported in IE6.

andré


-- 
___
andre m. winter,
  cartography for internet and multimedia applications
  a6091 goetzens, tyrol, austria
  tel.: ++43.5234.32732
  email: [EMAIL PROTECTED]

http://www.vectoreal.com/  SVG consulting and development
http://www.carto.net/  online cartography focusing on SVG
http://www.carto.at/ print and online touristic map solutions 




Aashish Singhvi wrote:

re:  For a more complete solution, refer to:
  

 


http://article.gmane.org/gmane.text.xml.svg.devel/12299/match=onunloa
d+crash
  



Thanks for the input. However, I was unable to specify 
parent.onbeforeunload in the init (onload) function of my 
Javascript. It says this is not implemented.  
Also, could you help me on what is the syntax for removing an Event 
Listner. Is it element.removeEventListener?

Thanks
-Aashish

--- In svg-developers@yahoogroups.com, skatethere 
[EMAIL PROTECTED] wrote:
  

--- In svg-developers@yahoogroups.com, Aashish Singhvi
[EMAIL PROTECTED] wrote:


Hi,
I am using a Javascript function script (Kevin Lindsey's slider)
  

that 


defines a scrollbar class which can be instantiated in my SVG's 
javascript to create instance of scroll bars depending on where 
required etc.

The issue is that a refresh of the browser was causing a crash. 
  

I 
  

debugged it down to the fact that I need to specify 
xmlns:a3=http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/;
a3:scriptImplementation=Adobe for the slider javascript file 
  

and
  

in 


the JS where I am instantiating the slider.
  

No, specifying the ASV internal javascript engine is not problem. 


The
  

problem is a breakdown between IE and ASV in unloading javascript
event listeners. Using the internal script engine merely works 


around
  

this bug. The bug is specific to ASV+IE+Javascript event listeners.

For a more complete solution, refer to:
 


http://article.gmane.org/gmane.text.xml.svg.devel/12299/match=onunloa
d+crash
  

Kevin discusses a proper fix for deregistering the eventlisteners
before unload.

Thanks,
  --kirby







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



 



  





-
To 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] disabling formerly selected functions

2005-03-08 Thread Halil AKINCI

Hi,

I have a toolbar that includes several functions such as zoom in, zoom out, 
move, rotate, roadWidth, erase, etc. The codes of this functions are in a 
JavaScript file. I select a function on the toolbar (e.g. roadWidth) and use it 
and then select another function (e.g. erase). Then I'm selecting again the 
roadWidth as third, but this time my program first using the second selected 
function (e.g. erase)  then the third selected one (roadWidth).

I need a procedure that disables formerly selected functions when I select a 
new one.

Sincerely...

Halil



[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: SaveSnapshopAs pbm in Safari

2005-03-08 Thread Jean-David Benamou

Hi again I have found my problem which is not linked to
DTD extension.

The problem is i am passing parameter using the url :

embed name=picz src=../PAINT/painting.svg?$parameters width=1600 
height=1600 type=image/svg+xml /

and when this url is too lon (parameters is too long) SaveSnapShot does not
work in Safari.

Any workaround ??

Thanks
JD




Jean-David Benamou wrote:

 Hi,

 I am customizing the context menu as usual (I think)
 with

 menu id=NewMenuheaderTelepict menu/headeritem 
 action='CopySVG'amp;Copy SVG/itemitem 
 action='SaveSnapshotAs'Saamp;ve Current 
 State.../itemseparator/item 
 action=Helpamp;Help.../itemitem action=AboutAbout SVG 
 Viewer.../item/menu

 in a defs section
 and then a

 var newMenuRoot = parseXML( printNode( doc.getElementById( 'NewMenu' ) 
 ), contextMenu).firstChild;
 contextMenu.replaceChild(newMenuRoot, contextMenu.firstChild );

 in the load event

 The menu items all work perfectly in IE+ASV
 and only ! SaveSnapshotAs ! does not work in Safari+ASV

 Apparently it is linked to the fact that I extend the SVG DTD :

 ?xml version=1.0 standalone=no?
 !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN
  http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd; [ 
 !ATTLIST svg
 xmlns:xlink CDATA #FIXED http://www.w3.org/1999/xlink; 
 !ATTLIST text
 xmlns:customNS CDATA #FIXED mycustomattributes
 customNS:long CDATA #IMPLIED
 customNS:surf CDATA #IMPLIED 
 ...
 ]svg id=imgtelepictroot  xmlns=http://www.w3.org/2000/svg; 
 xmlns:xlink=http://www.w3.org/1999/xlink;   xml:space=preserve 
 width='100%' height='100%'
 onload=OnLoadEvent(evt) ;  zoomAndPan=magnify 
 image-rendering=optimizeSpeed color-rendering=optimizeSpeed 
 shape-rendering=optimizeSpeed text-rendering=optimizeSpeed 
 pointer-events=all onmousemove=computecoord(evt)  
 onmousedown=waiting = true ;   onmouseup =waiting = false ;  
 onscroll=updcurscroll() ;  onzoom= updcurscale() ;


 because when I remove these  extensions it works .

 I do not know how to solve this problem ... any help available ?
 thanks

 JD












-
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] SaveSnapshopAs pbm in Safari

2005-03-08 Thread Jean-David Benamou

Hi,

I am customizing the context menu as usual (I think)
with

menu id=NewMenuheaderTelepict menu/headeritem 
action='CopySVG'amp;Copy SVG/itemitem 
action='SaveSnapshotAs'Saamp;ve Current 
State.../itemseparator/item action=Helpamp;Help.../itemitem 
action=AboutAbout SVG Viewer.../item/menu

in a defs section
and then a

var newMenuRoot = parseXML( printNode( doc.getElementById( 'NewMenu' ) 
), contextMenu).firstChild;
contextMenu.replaceChild(newMenuRoot, contextMenu.firstChild );

in the load event

The menu items all work perfectly in IE+ASV
and only ! SaveSnapshotAs ! does not work in Safari+ASV

Apparently it is linked to the fact that I extend the SVG DTD :

?xml version=1.0 standalone=no?
!DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN
  http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd; [ 
!ATTLIST svg
xmlns:xlink CDATA #FIXED http://www.w3.org/1999/xlink; 
!ATTLIST text
xmlns:customNS CDATA #FIXED mycustomattributes
customNS:long CDATA #IMPLIED
customNS:surf CDATA #IMPLIED 
...
]svg id=imgtelepictroot  xmlns=http://www.w3.org/2000/svg; 
xmlns:xlink=http://www.w3.org/1999/xlink;   xml:space=preserve 
width='100%' height='100%'
onload=OnLoadEvent(evt) ;  zoomAndPan=magnify 
image-rendering=optimizeSpeed color-rendering=optimizeSpeed 
shape-rendering=optimizeSpeed text-rendering=optimizeSpeed 
pointer-events=all onmousemove=computecoord(evt)  
onmousedown=waiting = true ;   onmouseup =waiting = false ;  
onscroll=updcurscroll() ;  onzoom= updcurscale() ;


because when I remove these  extensions it works .

I do not know how to solve this problem ... any help available ?
thanks

JD

 








-
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] Scripting:Polyline Object Access

2005-03-08 Thread Curtis Fisher


I have a chart that has 3 polylines and I would like to select the Y 
values for any X coordinate that the mouse selects.  Picture a 
vertical line that moves to where the mouse is clicked and then 
visualize a table where all 3 polyline intersection values would 
appear.  I have the line positioning (without using transform(), so 
it only works in default view), but now I need to access the values 
at each intersection point.  Given the set of points listed below:

0 173.1297633996842,
114.25307055127107 229.60674366848605,
228.50614110254213 289.09873058895204,
342.8734647243645 352.22737501709537,
457.01228220508426 401.0891322997351,
571.3796058269066 439.32065994454877,
685.8611825192802 452.5929057204312,
800 440.9680347129838

as can be seen, there are gaps in the data.  Let's say i wanted to 
access the Y value at 280; I'm assumming if there is no other means 
to access the value of the line itsef at any X coordinate, I would 
have to get the points, place them into an collection structure that 
I could iterate through, find the 2 X points where 280 falls between, 
then calculate the slope of the Y value at that point.  Simple Yes?  
Well, I can do it, although I am not the sharpest knife in the drawer 
when it comes to geometry, but I would much rather find out from an 
expert, that yes, you can do something much simpler, and everything 
will be fine!

Thank you for your help ahead of time...
Curtis Fisher





-
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: rendering speed - batik vs. asv

2005-03-08 Thread higorion


well

after desperately trying to get it to work i finally had a look at 
the original batik source code. this is what part of it reads:

public int  suspendRedraw ( int max_wait_milliseconds ) {
throw new Error();
}
public void  unsuspendRedraw ( int suspend_handle_id )
throws DOMException {
throw new Error();
}
public void  unsuspendRedrawAll (  ) {
throw new Error();
}
public void  forceRedraw (  ) {
throw new Error();
}


interesting, isn't it? i'm a little pissed off now for spending 
several hours of trying to get it to work while the javadocs are not 
saying anything about errors always being thrown in these functions.

so i guess i'm still stuck with very poor rendering performance in 
batik and i will most probably end up with not using batik at all!

i'd be very glad if somebody could share his experience on searching 
for a fast renderer with me. it doesn't even necessarily have to be 
svg or java, even though i'd prefer it to be.


best regards,

Hannes Fleischer




--- In svg-developers@yahoogroups.com, higorion [EMAIL PROTECTED] 
wrote:
 
 Hi Jeff,
 
 thank's for your answer. sound like an elegant solution, but
 
 ... unfortunately i have not been able to implement those 
functions 
 yet, since calling on svgRoot (SVGOMSVGElement) in javascript, 
batik 
 will raise an error (java.lang.Error), and, after building 
evertyhing 
 in pure java, i got the same error there.
 
 i use something like:
 
 
 
 svgRoot = svgCanvas.getSVGDocument().getRootElement();
 int id = svgRoot.suspendRedraw(100);
 
 
 
 svgRoot.unsuspendRedraw(id);
 svgRoot.forceRedraw();
 
 
 
 are there any special rules, as how to place these function calls? 
 does the dom have to be in any special state? anthing else to 
 consider?
 
 i'd be forever grateful for any answers.
 
 regards,
 Hannes Fleischer
 
 p.s. what's this all about anyways? have a look at some preview 
 scrrenshots at:
 http://www.igorion.com/_suspension2
 
 
 
 
 --- In svg-developers@yahoogroups.com, Jeff Rafter [EMAIL PROTECTED] 
wrote:
  Hannes,
  
  The problem/difference is that Adobe caches rendering updates 
until 
 the 
  Javascript interpretter has completed. Meaning: when a 
 function/event is 
  called all of the code is executed then the rendering update is 
  completed when ASV regains control. You can approximate this in 
 Batik 
  using suspendRedraw, forceRedraw at the beginning and end of 
your 
  functions. You should see and incredible performance gain.
  
  All the best,
  Jeff Rafter
  
  higorion wrote:
   
   hi,
   
   after developing svg applications for some time using adobe 
svg 
   viewer i have tried batik squiggle viewer for the first 
time.
   
   i was very disappointed with the batik viewer performance 
(slower 
 by 
   a factor of 3-5 compared to the adobe viewer).
   
   as seen in this very simple animated example:
   http://www.igorion.com/_hf_files/rendering_test.svg
   
   
   
   can batik's performance be improved by not using the java-
 javascript 
   interpreter but rather modifying the dom directly from java? 
   
   i was planning to build a standalone svg application using 
 batik's 
   JSVGCanvas, but assuming that they have built their squiggle 
 viewer 
   around that same class, this doesn't seem very promising to me 
 now.
   
   has anyone got any good advice for me concerning a fast svg 
   implementation that can also be used standalone (preferrably 
with 
   filesystem access).
   
   thanks for any answers,
   
   hannes fleischer
   
   
   
   
   
   -
   To unsubscribe send a message to: svg-developers-
 [EMAIL PROTECTED]
   -or-
   visit http://groups.yahoo.com/group/svg-developers and 
 click edit my membership
    
   Yahoo! Groups Links
   
   
   

   
   
   
  





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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: rendering speed - batik vs. asv

2005-03-08 Thread Jeff Rafter


Wow! I am sorry about that Hannes-- I thought it was in there! Okay... 
what platform are you on? I know that Ksvg2 has event/javascript 
buffering built in...

Sorry bout that...
Jeff Rafter


-
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] disabling formerly selected functions

2005-03-08 Thread André M. Winter - Carto.net

hi halil,

this seems to be a question related to scripting and not to SVG. however 
i don't understand how you select a function. you can call a 
function, it executes and that was it. if you have different functions 
attached to mouse events (such as click, mousover, etc...) then you can 
add and remove them one by one with addEventListener() or 
removeEventListener(), check out http://www.mecxpert.de/svg/grips.html 
as one example. as an alternative it is also possible to 
setAttributeNS(null,'onmousover','functionName()');.

andré

-- 
___
andre m. winter,
  cartography for internet and multimedia applications
  a6091 goetzens, tyrol, austria
  tel.: ++43.5234.32732
  email: [EMAIL PROTECTED]

http://www.vectoreal.com/  SVG consulting and development
http://www.carto.net/  online cartography focusing on SVG
http://www.carto.at/ print and online touristic map solutions 





Halil AKINCI wrote:

Hi,

I have a toolbar that includes several functions such as zoom in, zoom out, 
move, rotate, roadWidth, erase, etc. The codes of this functions are in a 
JavaScript file. I select a function on the toolbar (e.g. roadWidth) and use 
it and then select another function (e.g. erase). Then I'm selecting again the 
roadWidth as third, but this time my program first using the second selected 
function (e.g. erase)  then the third selected one (roadWidth).

I need a procedure that disables formerly selected functions when I select a 
new one.

Sincerely...

Halil



[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 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: Newbie Question - Lines/Paths

2005-03-08 Thread Samuel Dagan


Hi Chris,
  A simple way could be a path, formed by a combination of many 
elliptical arcs.
  Good luck, Samy

--- In svg-developers@yahoogroups.com, th3moog [EMAIL PROTECTED] 
wrote:
 
 Can someone tell me if it is possible to repeat a symbol along a 
path?
 
 I understand that you can create various styles of dotted and dashed
 lines, but what about more complex line styles?
 
 Ideally I would like to be able to create a hedge line style, whch
 would appear as a series of short arcs. Something like this...
 
()
)( I know it is not brilliant but hopefully it
() conveys the idea!
)(
 
 Where the path of the line runs along the center of the brackets.
 
 Does this question make any sense? ;-)
 
 Any help appreciated.
 
 Thanks in advance
 Chris





-
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: Newbie Question - Lines/Paths

2005-03-08 Thread André M. Winter - Carto.net

hi,

another way would be special created fonts that align along a path 
(textPath).

but if you could link to a graphic where the final result of what you 
want is shown, maybe there will be more answers on this...

andré


-- 
___
andre m. winter,
  cartography for internet and multimedia applications
  a6091 goetzens, tyrol, austria
  tel.: ++43.5234.32732
  email: [EMAIL PROTECTED]

http://www.vectoreal.com/  SVG consulting and development
http://www.carto.net/  online cartography focusing on SVG
http://www.carto.at/ print and online touristic map solutions 



th3moog wrote:

Thanks Samy.

I am not entirely sure I understand what you mean though! Do you 
mean that I should draw the line as a series of individual arcs? If 
so, that seems quite a labour intensive way of achieving the desired 
result. If I have misinterpretted your reply, is there any chance of 
a short example of what you mean?

I was reading the W3C spec and it made me think that perhaps it is 
possible to stroke a line with a pattern. Could this method be used 
to achieve the same effect?

It strikes me, as a complete novice, that wanting to repeat 
a symbol along a line/path would be quite a common requirement and 
yet I think I have tried virtually every combination of key word 
searches possible on yahoo and google without finding anything 
usefull!

TIA 
Chris

--- In svg-developers@yahoogroups.com, Samuel Dagan [EMAIL PROTECTED] 
wrote:
  

Hi Chris,
  A simple way could be a path, formed by a combination of many 
elliptical arcs.
  Good luck, Samy

--- In svg-developers@yahoogroups.com, th3moog 


[EMAIL PROTECTED] 
  

wrote:


Can someone tell me if it is possible to repeat a symbol along a 
  

path?


I understand that you can create various styles of dotted and 
  

dashed
  

lines, but what about more complex line styles?

Ideally I would like to be able to create a hedge line style, 
  

whch
  

would appear as a series of short arcs. Something like this...

   ()
   )( I know it is not brilliant but hopefully it
   () conveys the idea!
   )(

Where the path of the line runs along the center of the brackets.

Does this question make any sense? ;-)

Any help appreciated.

Thanks in advance
Chris
  






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



 



  





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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] SVG Tiny

2005-03-08 Thread iwasandrewfirst


Does anyone know what SVG Tiny must have?  4 decimal places, or 
more?  (And if not four, how do you know what the SVG Tiny spec 
means?)

The w3 standard says that numbers must be between +32767. and -
32767..  THAT'S FOUR DECIMAL PLACES.

BUT their test suite shows values of (eg) x.17 - THAT'S SIX 
DECIMAL PLACES



Thanks

Andrew







-
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: Newbie Question - Lines/Paths

2005-03-08 Thread Holger Will

Hi Chris

as André pointed out, you can use a font. here is a simple example:
http://www.treebuilder.de/svg/font1/myfont.svg

hope it helps
Holger

André M. Winter - Carto.net wrote:

 hi,

 another way would be special created fonts that align along a path
 (textPath).

 but if you could link to a graphic where the final result of what you
 want is shown, maybe there will be more answers on this...

 andré


 -- 
 ___
 andre m. winter,
   cartography for internet and multimedia applications
   a6091 goetzens, tyrol, austria
   tel.: ++43.5234.32732
   email: [EMAIL PROTECTED]

 http://www.vectoreal.com/  SVG consulting and development
 http://www.carto.net/  online cartography focusing on SVG
 http://www.carto.at/ print and online touristic map solutions



 th3moog wrote:

 Thanks Samy.
 
 I am not entirely sure I understand what you mean though! Do you
 mean that I should draw the line as a series of individual arcs? If
 so, that seems quite a labour intensive way of achieving the desired
 result. If I have misinterpretted your reply, is there any chance of
 a short example of what you mean?
 
 I was reading the W3C spec and it made me think that perhaps it is
 possible to stroke a line with a pattern. Could this method be used
 to achieve the same effect?
 
 It strikes me, as a complete novice, that wanting to repeat
 a symbol along a line/path would be quite a common requirement and
 yet I think I have tried virtually every combination of key word
 searches possible on yahoo and google without finding anything
 usefull!
 
 TIA
 Chris
 
 --- In svg-developers@yahoogroups.com, Samuel Dagan [EMAIL PROTECTED]
 wrote:
  
 
 Hi Chris,
   A simple way could be a path, formed by a combination of many
 elliptical arcs.
   Good luck, Samy
 
 --- In svg-developers@yahoogroups.com, th3moog

 
 [EMAIL PROTECTED]
  
 
 wrote:

 
 Can someone tell me if it is possible to repeat a symbol along a
  
 
 path?

 
 I understand that you can create various styles of dotted and
  
 
 dashed
  
 
 lines, but what about more complex line styles?
 
 Ideally I would like to be able to create a hedge line style,
  
 
 whch
  
 
 would appear as a series of short arcs. Something like this...
 
()
)( I know it is not brilliant but hopefully it
() conveys the idea!
)(
 
 Where the path of the line runs along the center of the brackets.
 
 Does this question make any sense? ;-)
 
 Any help appreciated.
 
 Thanks in advance
 Chris
  
 
 
 
 
 
 
 -
 To unsubscribe send a message to: 
 [EMAIL PROTECTED]
 -or-
 visit http://groups.yahoo.com/group/svg-developers and click edit my 
 membership
 
 Yahoo! Groups Links
 
 
 
 
 
 
 
  
 







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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] getURL returns Invalid Domain

2005-03-08 Thread ts_oswald


Hi -

I have an svg application that is driven by an xml document and 
everything works great in a browser. Then I put it into a pdf (thanks 
to kevlindev), view it using Adobe Reader 7.0, and things don't work 
all that great. The getURL returns an Invalid Domain whether 
absolute or relative urls are used and whether the pdf is served from 
the file system or a web server. Other js-driven graphics work fine, 
its just the getURL part that is causing me grief. Do I need to 
provide a reference to a domain somewhere?

thanks,
Scott





-
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] PHP, SVG, PDF

2005-03-08 Thread Rerun

I've started, with some success, writing a php script that uses PDFLIB 
to write out SVG in a PDF.  It seemed like a good idea, but then I got 
to thinking about polygons that have holes in them.  It started to seem 
more complicated than it was worth.  Maybe I'm wrong.  Does anyone know 
how PDF's handle such types of polygons?  Also, the act of writing out 
the path statement with PDFLIB seems a bit tedious, although I have a 
solution, it seems processor intensive for large outputs.  It looks like 
this:

PDF_moveto($p,$x,$y);
PDF_lineto($p,$x,$y);
PDF_lineto($p,$x,$y);
PDF_lineto($p,$x,$y);
PDF_closepath($p);
PDF_fill_stroke($p);

One coordinate at time.  Am I missing something?  Is there an easier way 
to do this?  If not, has anyone used PDFLIB to embed the SVG into the 
PDF?  It looks like PDFLIB only embeds objects such as images.  Are 
there any other PHP solutions?  After much searching, I have come up 
with nothing.  I've seen Kevin Lindsey's pearl script, I don't know 
pearl, so I haven't been able to decipher that.  Don't know if it would 
matter.  Any ideas with regards to a PHP solution would be appreciated.  
Thanks.

Sean


-
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] PHP, SVG, PDF

2005-03-08 Thread Rick Bullotta

What about rasterizing the SVG and embedding the resultant image?

-Original Message-
From: Rerun [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 08, 2005 9:21 PM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] PHP, SVG,  PDF


I've started, with some success, writing a php script that uses PDFLIB 
to write out SVG in a PDF.  It seemed like a good idea, but then I got 
to thinking about polygons that have holes in them.  It started to seem 
more complicated than it was worth.  Maybe I'm wrong.  Does anyone know 
how PDF's handle such types of polygons?  Also, the act of writing out 
the path statement with PDFLIB seems a bit tedious, although I have a 
solution, it seems processor intensive for large outputs.  It looks like 
this:

PDF_moveto($p,$x,$y);
PDF_lineto($p,$x,$y);
PDF_lineto($p,$x,$y);
PDF_lineto($p,$x,$y);
PDF_closepath($p);
PDF_fill_stroke($p);

One coordinate at time.  Am I missing something?  Is there an easier way 
to do this?  If not, has anyone used PDFLIB to embed the SVG into the 
PDF?  It looks like PDFLIB only embeds objects such as images.  Are 
there any other PHP solutions?  After much searching, I have come up 
with nothing.  I've seen Kevin Lindsey's pearl script, I don't know 
pearl, so I haven't been able to decipher that.  Don't know if it would 
matter.  Any ideas with regards to a PHP solution would be appreciated.  
Thanks.

Sean


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



 






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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: Can xml data be put in svg? ( eg. 4 getURL ? )

2005-03-08 Thread loveshwathi


Can someone give a simple example of getURL to get data from xml 
into svg? 


--- In svg-developers@yahoogroups.com, Burkhard Stollenwerk 
[EMAIL PROTECTED] wrote:
 Hallo,
 
 yes you can use XML Data in Document.
 But mixing is dangerous.
 You can load it by using getUrl , or take it within meta/ Tag.
 
 Burkhard Stollenwerk
   - Original Message - 
   From: thirumalai_selvan 
   To: svg-developers@yahoogroups.com 
   Sent: Tuesday, March 08, 2005 6:23 AM
   Subject: [svg-developers] Can xml data be put in svg?
 
 
 
   hi, i'm a beginner. can xml data be used in svg? any examples 
please!
 
   greets,
   thiru :)
 
 
 
 
 
   -
   To unsubscribe send a message to: svg-developers-
[EMAIL PROTECTED]
   -or-
   visit http://groups.yahoo.com/group/svg-developers and 
click edit my membership
    
 
 
 Yahoo! Groups Sponsor 
   ADVERTISEMENT
  


 
 
 ---
---
   Yahoo! Groups Links
 
 a.. To visit your group on the web, go to:
 http://groups.yahoo.com/group/svg-developers/
   
 b.. To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   
 c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of Service. 
 
 
 
 [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: PHP, SVG, PDF

2005-03-08 Thread Andreas Neumann


there are quite a few SVG2PDF converters out there. commercial ones 
and open source ones, if you look for svg2pdf conversion. 
 
here are some options: 
Apache FOP (which has Batik embedded) 
Adobe Graphics Server 
Antenna house 
Adobe Illustrator 
Corel Draw 
Inkscape (via PS) or Scribus 
 
Almost any FOP processor handles SVG to PDF conversion. 
 
Andreas 
 
--- In svg-developers@yahoogroups.com, Rerun [EMAIL PROTECTED] wrote: 
 I've started, with some success, writing a php script that uses 
PDFLIB  
 to write out SVG in a PDF.  It seemed like a good idea, but then I 
got  
 to thinking about polygons that have holes in them.  It started to 
seem  
 more complicated than it was worth.  Maybe I'm wrong.  Does anyone 
know  
 how PDF's handle such types of polygons?  Also, the act of writing 
out  
 the path statement with PDFLIB seems a bit tedious, although I 
have a  
 solution, it seems processor intensive for large outputs.  It 
looks like  
 this: 
  
 PDF_moveto($p,$x,$y); 
 PDF_lineto($p,$x,$y); 
 PDF_lineto($p,$x,$y); 
 PDF_lineto($p,$x,$y); 
 PDF_closepath($p); 
 PDF_fill_stroke($p); 
  
 One coordinate at time.  Am I missing something?  Is there an 
easier way  
 to do this?  If not, has anyone used PDFLIB to embed the SVG into 
the  
 PDF?  It looks like PDFLIB only embeds objects such as images.  
Are  
 there any other PHP solutions?  After much searching, I have come 
up  
 with nothing.  I've seen Kevin Lindsey's pearl script, I don't 
know  
 pearl, so I haven't been able to decipher that.  Don't know if it 
would  
 matter.  Any ideas with regards to a PHP solution would be 
appreciated.   
 Thanks. 
  
 Sean 





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