[svg-developers] Re: ASV6

2005-02-25 Thread friedhelmeichin


Some days ago I tried it. My first impression is good, performace is 
improved since ASV3.
But the target of my test was not complete.

If you install it you can fiond some information about it in the file
C:\Programme\Gemeinsame Dateien\Adobe\SVG Viewer 6.0\Implementation 
White Paper.html

But I don't understand, why there is only a Preview version available 
since July 2003!?
Is there somebody who knows this???

Regards
Friedhelm


--- In svg-developers@yahoogroups.com, Andreas Neumann 
[EMAIL PROTECTED] wrote:
 
 we use it at our institute quite a lot. In my opinion it is quite 
stable.
 
 However, you should not think that the ASV that Adobe will next
 release is very similar to ASV6. ASV6 was just a developers preview,
 released at SVG.Open 2003 in Vancouver. To my knowledge the upcoming
 ASV has a lot of redesign under the hood which makes it considerably
 different from ASV6.
 
 For Windows Firefox users I recommend using ASV6 over ASV3.
 
 Andreas
 
 --- In svg-developers@yahoogroups.com, Jan [EMAIL PROTECTED] 
wrote:
  
  Is anyone using ASV6 in a production web site?  If so, is it 
fairly 
  stable?





-
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] ASV6

2005-02-25 Thread Burkhard Stollenwerk

I think it work stable, but callback functions are critical

Burkhard
- Original Message -
From: Jan [EMAIL PROTECTED]
To: svg-developers@yahoogroups.com
Sent: Thursday, February 24, 2005 7:50 PM
Subject: [svg-developers] ASV6





 Is anyone using ASV6 in a production web site?  If so, is it fairly
 stable?





 -
 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] event in object

2005-02-25 Thread arno_sosna


hi,

i have the following problem:

i have a simple svg file with a single rect element.

rect x=5 y=5 width=10 height=10 onmouseover=alert(evt)/

if i embed this svg file in a html document via embed, the mouseover
is working and correctly opens an alert box with [object MouseEvent]. 

BUT:

if i use object to embed the svg file in html, nothing happens. 

how do i use events from object correctly?

wbr,
Arno Sosna
ASV 3, IE 6 on WinXP





-
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] iterate elemnets one by one

2005-02-25 Thread raghu raman

Hi
   I create and append the path element with id named as arrow line at some 
times  in a groupElement. Now I need to get the element one by one using 
arrowLine. Is there any functions availabel to get the all elements using 
elements id. 
 
var arrowLine=svgContentsDocument.createElement(path);
arrowLine.setAttribute(id,arrowLine);
arrowLine.setAttribute('stroke-width',200);
arrowLine.setAttribute('stroke',blue);
arrowLine.setAttribute('opacity',1);
groupParent.appendChild(arrowLine);
 
kindly let me know your solutions.
Thanks 
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] Re: getPointAtLength

2005-02-25 Thread Andreas Neumann


getPointAtLength works in ASV3 and ASV6. 
 
It does not work in Batik, as far as I know ... 
 
Andreas 
 
 
--- In svg-developers@yahoogroups.com, renato_stancato 
[EMAIL PROTECTED] wrote: 
  
 I need to retrieve the coordinate of a path element in a certain 
distance. 
 I know that there is a method called getPointAtLength but it's not 
 implemented. 





-
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] iterate elemnets one by one

2005-02-25 Thread Doug Schepers

Hi, Raghu-

An id is a unique identifier. You shouldn't have more than one element in a
single document with the same id, and if you do, the results of accessing
any of them by script will be unpredictable.

A solution would be to increment the ids (arrowLine1, arrowLine2,
arrowLine3), and to access them, iterate through the list one by one with
getElementById(arrowLine + i).

Regards-
Doug

doug . schepers  @ vectoreal.com
www.vectoreal.com ...for scalable solutions.
 

raghu raman wrote:
| 
| Hi
|I create and append the path element with id named as 
| arrow line at some times  in a groupElement. Now I need to 
| get the element one by one using arrowLine. Is there any 
| functions availabel to get the all elements using elements id. 
|  
| var arrowLine=svgContentsDocument.createElement(path);
| arrowLine.setAttribute(id,arrowLine);
| arrowLine.setAttribute('stroke-width',200);
| arrowLine.setAttribute('stroke',blue);
| arrowLine.setAttribute('opacity',1);
| groupParent.appendChild(arrowLine);
|  
| kindly let me know your solutions.
| Thanks
| Raghu.



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

2005-02-25 Thread renato_stancato


I need it in Batik :(


--- In svg-developers@yahoogroups.com, Andreas Neumann
[EMAIL PROTECTED] wrote:
 
 getPointAtLength works in ASV3 and ASV6. 
  
 It does not work in Batik, as far as I know ... 
  
 Andreas 
  
  
 --- In svg-developers@yahoogroups.com, renato_stancato 
 [EMAIL PROTECTED] wrote: 
   
  I need to retrieve the coordinate of a path element in a certain 
 distance. 
  I know that there is a method called getPointAtLength but it's not 
  implemented.





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

2005-02-25 Thread Andreas Neumann


yes, I would need it as well. I would like to have .getTotalLength() 
and .getPointAtLength() in Batik. Both work in ASV, but not in 
Batik. 
 
You should post your request on the Batik list, however. 
 
Andreas 
 
--- In svg-developers@yahoogroups.com, renato_stancato 
[EMAIL PROTECTED] wrote: 
  
 I need it in Batik :( 
  
  
 --- In svg-developers@yahoogroups.com, Andreas Neumann 
 [EMAIL PROTECTED] wrote: 
   
  getPointAtLength works in ASV3 and ASV6.  

  It does not work in Batik, as far as I know ...  

  Andreas  


  --- In svg-developers@yahoogroups.com, renato_stancato  
  [EMAIL PROTECTED] wrote:  
 
   I need to retrieve the coordinate of a path element in a 
certain  
  distance.  
   I know that there is a method called getPointAtLength but it's 
not  
   implemented. 





-
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] Update Project What do you think about

2005-02-25 Thread Peter Thompson

I don't see anything using ASVG3.02 in Windows.

Burkhard Stollenwerk [EMAIL PROTECTED] wrote:Hello,

Could you have a look at my project.
What do you think about?

www.futurefarm.de/
 http://futurefarm.de/kuh2005/svgkuh.svg

Burkhard Stollenwerk

[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 the Yahoo! Terms of Service. 




-
Do you Yahoo!?
 Yahoo! Mail - 250MB free storage. Do more. Manage less.

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





Re: [svg-developers] Re: Draw Arrow Head

2005-02-25 Thread raghu raman

Hi,
   Now I placed a arrowhead in middle of the line using path element. First I 
say thank you every body to provide a best solutions. I placed here  one sample 
file to draw a arrow head line. 
 

?xml version=1.0 standalone=no?
!DOCTYPE svg PUBLIC -//W3C//DTD SVG 20001102//EN 
http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd;
svg width=100% height=100%  onload=init(evt);
script
![CDATA[ 
var SVGDocument = null;
var SVGRoot = null;
function init(evt)
  {
alert(Click the element to create Connectivity); 
SVGDocument = evt.getTarget().getOwnerDocument();
SVGRoot = SVGDocument.documentElement;
  }
   
  function createConnectivity(objectName,direction)
  {

SVGDocument = evt.getTarget().getOwnerDocument();
SVGRoot = SVGDocument.documentElement;
var pt1 = SVGDocument.getElementById(objectName).getTotalLength();
centerPoint=pt1/2;
var centerpointposition1 = 
SVGDocument.getElementById(objectName).getPointAtLength(centerPoint);   
var centerpointposition2 = 0;
var arrowLine=SVGDocument.createElement(path);
arrowLine.setAttribute(id,al);

// to draw a arrow head in different direction 
if(direction==1){   centerpointposition2 = 
SVGDocument.getElementById(objectName).getPointAtLength(centerPoint+1); 
 arrowLine.setAttribute(d, M  + centerpointposition1.x +  
 + centerpointposition1.y +  L  +  (centerpointposition2.x) +   + 
(centerpointposition2.y)); 
arrowLine.setAttribute(marker-start,url('#myMarker'));  
alert(direction);   }else   {   centerpointposition2 = 
SVGDocument.getElementById(objectName).getPointAtLength(centerPoint-1); 
 arrowLine.setAttribute(d, M  + centerpointposition1.x +  
 + centerpointposition1.y +  L  +  (centerpointposition2.x) +   + 
(centerpointposition2.y)); 
arrowLine.setAttribute(marker-start,url('#myMarker'));  
alert(direction);   }   marker=SVGDocument.getElementById(myMarker);  
gElement=SVGDocument.getDocumentElement().appendChild(arrowLine);   
  } ]]/scriptmarker id=myMarker viewBox=0 0 10 10 refX=0 refY=5 
markerUnits=strokeWidth orient=auto 
 
 markerWidth=20 markerHeight=20polyline 
points=0,0 10,5 0,10 1,5 fill=darkblue /  /markerpath id=p2 d=M 30 
70 L 60 70 L 90 100 style=fill:none; stroke:black; stroke-width:3; 
onmousedown=createConnectivity('p2',1)/path id=p3 d=M 100 70 L 130 70 L 
160 100 style=fill:none; stroke:black; stroke-width:3; 
onmousedown=createConnectivity('p3',2)/path id=p4 d=m 10 10 L 50 10 L 
100 10  style=fill:darkblue; stroke:green; stroke-width:3; 
onmousedown=createConnectivity('p4',2)/path id=path1 d= M 210,210 L 
220,220 L 230,230 L 240,240 L 250,250 style=fill:darkblue; stroke:blue; 
stroke-width:2; onmousedown=createConnectivity('path1',2)/path id=path3 
d= M 200,200 L 320,320 L 330,330 L 340,340 L 350,350 style=fill:darkred; 
stroke:darkred; stroke-width:2; 
onmousedown=createConnectivity('path3',1)/rect x=350 y=320 width=50 
height=50 fill=none stroke=blue/rect x=150 y=170 width=50 
height=50 fill=none
 stroke=blue/rect x=0 y=5 width=550 height=560 fill=none 
stroke=blue//svg
I wish to share some lines about this code. I get the length of  the line using 
.getTotalLength() and find the middle point. I get the centre point 
co-ordinates getThe I get the middlepoint + 1. Then get the another 
co-ordinates of the middle point using getPointAtLength(centerPoint).  As the 
same way I got another co-ordiantes. I draw a line from both co-ordinates and 
place the arrow head in start or end place.
 
Thanks
Raghu J 


raghu raman [EMAIL PROTECTED] wrote:
Hi Andreas
I have got the center point using .getTotalLength() and getPointAtLength(). 
I also have center point coordinates. Thank you very much. Its work well.
But now my doubt is how I can I animate using animateMotion/ to place the 
symbol or an element in center poitn co-ordinates.

Raghu 

Andreas Neumann [EMAIL PROTECTED] wrote:

You could use animateMotion / 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 

RE: [svg-developers] Update Project What do you think about

2005-02-25 Thread Chris Peto

Hi,
 
I get Line 262 SyntaxError: syntax error on win2k sp4 ASV 3.02.  Then
ReferenceError: init is not defined.
 
 

Mit freundlichen Grüßen/Regards
Chris Peto
Freelance System Development, Resource Solutions
Founding Partner, Vectoreal
-
Germany
Mobile: +49 (0) 173 308 7843
Tel:+49(0) 6103 80 21 98
http://www.resource-solutions.de http://www.resource-solutions.de/ 
http://www.vectoreal.com http://www.vectoreal.com/ 
SVG editor: http://www.resource-solutions.de/svgeditor.html
mailto:[EMAIL PROTECTED]

Member of: SPARK - SVG Programmers' Application Resource Kit
SVG site:  http://www.schemasoft.org/svg/main.svg
HTML site: http://www.schemasoft.org/





-Original Message-
From: Peter Thompson [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 25. Februar 2005 14:46
To: svg-developers@yahoogroups.com
Subject: Re: [svg-developers] Update Project What do you think about


I don't see anything using ASVG3.02 in Windows.

Burkhard Stollenwerk [EMAIL PROTECTED] wrote:Hello,

Could you have a look at my project.
What do you think about?

www.futurefarm.de/
 http://futurefarm.de/kuh2005/svgkuh.svg

Burkhard Stollenwerk

[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 the Yahoo! Terms of Service. 




-
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.

[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 Sponsor   

ADVERTISEMENT
 
http://us.ard.yahoo.com/SIG=129gou9ts/M=298184.6018725.7038619.3001176/
D=groups/S=1706030389:HM/EXP=1109425608/A=2593423/R=0/SIG=11el9gslf/*htt
p://www.netflix.com/Default?mqso=60190075 click here   
 
http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=group
s/S=:HM/A=2593423/rand=713275388   


  _  

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]
mailto:[EMAIL PROTECTED] 
  

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




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





Re: [svg-developers] opentype to truetype converter

2005-02-25 Thread Chris Lilley

On Thursday, February 24, 2005, 1:42:51 PM, Andreas wrote:



AN Hi all, 
 
AN I have a Opentype font that I would like to convert to SVG glyphs 
AN for use in a svg mapping application. 
 
AN I only have a truetype to svg glyph converter (Batik). Does someone 
AN have a opentype to truetype converter? If yes, would it be possible 
AN that i'd send you my font for conversion? 
 
Any features of OpenType that would not be understood by a truetype to
svg converter would also be lost by an OpenType to Truetype converter.

Batik can be used to process Opentype fonts, although it will loose any
information such as glyph substitution tables that cannot be directly
represented in an SVG font.


-- 
 Chris Lilleymailto:[EMAIL PROTECTED]
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead



-
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] opentype to truetype converter

2005-02-25 Thread Thomas DeWeese

Hi Chris,

Chris Lilley wrote:
 On Thursday, February 24, 2005, 1:42:51 PM, Andreas wrote:

 AN I have a Opentype font that I would like to convert to SVG glyphs 
 AN for use in a svg mapping application. 
  
 AN I only have a truetype to svg glyph converter (Batik).
  
 Any features of OpenType that would not be understood by a truetype to
 svg converter would also be lost by an OpenType to Truetype converter.

I don't know for certain but I guessed that this was one of
the OpenType formats that used Type1 font outlines instead of
TrueType outlines.  The Batik font converter will not handle those.

 Batik can be used to process Opentype fonts,

OpenType fonts that still use TrueType outlines.

 although it will loose any information such as glyph substitution 
 tables that cannot be directly represented in an SVG font.

Also true (I think ;)


-
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 refer to a parent JavaScript function ?

2005-02-25 Thread jaymejeffman


I have a frameset, which is the main browse window, and two vertical
frames. On the left frame I have an outline menu and on the right I
have a html page with an embeded svg file. 

I would like to have access to an window.open function, which is
placed in the frameset file, when the user clicks on some of the svg
objects showed on the right frame.

Can anybody tell me please how can I do that ?

Thanks very much.

Jayme.





-
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 embedded in a blogspot blog?

2005-02-25 Thread Marjorie Roswell

Hi, I'm brand new to SVG, but smitten. I figured I'd start a blog, 
http://SVGMapper.blogspot.com/ to document development as I start from
ground zero. (maybe a better word for that!)

Already, I see I've met a challenge...I want to be able to provide
samples via the blog. I don't think I can upload files. I'm looking
for an inline text solution. Note, that I've found, and put a link to
http://www.jenitennison.com/xslt/utilities/svg-utils.html, but even
that solution requires linking to an external file.

Has anyone (or can anyone) figure out how to include SVG in a blogspot blog?

Sincerely,

Margie


-
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] Panning

2005-02-25 Thread Rerun

Maybe I should rephrase my question.  Is there a way to freeze the SVG 
while my home-made panning tool is panning, similar to what the Adobe 
viewer pan tool doese?  For large SVG content, panning can be slow 
otherwise.  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/
 





RE: [svg-developers] Panning

2005-02-25 Thread kgordon

You asked how to keep it from refreshing svg until mouse up event.  The
svg doesn't change anything on its own, you do it in script.  If you
don't want anything to change until mouse up, then do your modifications
to the SVG on the mouseup event.

It sounds like maybe your doing a click and drag method of panning.  Why
don't you just store the clientx/clienty in a variable on mousedown, and
hold them there until mouse up, then you can calculate the distance
dragged and update your svg onmouseup event.

--KG

-Original Message-
From: Rerun [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 25, 2005 2:09 PM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Panning


Maybe I should rephrase my question.  Is there a way to freeze the SVG 
while my home-made panning tool is panning, similar to what the Adobe 
viewer pan tool doese?  For large SVG content, panning can be slow 
otherwise.  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/
 





Re: [svg-developers] Panning

2005-02-25 Thread Rerun

I want the SVG to move as I drag the mouse, similar to the Adobe viewer 
pan tool, but I want the svg to be clipped at the viewbox edges until  
the mouseup event.  The adobe viewer clips around the edges until mouse 
up, making it very fast when moving the SVG around.

[EMAIL PROTECTED] wrote:

You asked how to keep it from refreshing svg until mouse up event.  The
svg doesn't change anything on its own, you do it in script.  If you
don't want anything to change until mouse up, then do your modifications
to the SVG on the mouseup event.

It sounds like maybe your doing a click and drag method of panning.  Why
don't you just store the clientx/clienty in a variable on mousedown, and
hold them there until mouse up, then you can calculate the distance
dragged and update your svg onmouseup event.

--KG

-Original Message-
From: Rerun [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 25, 2005 2:09 PM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Panning


Maybe I should rephrase my question.  Is there a way to freeze the SVG 
while my home-made panning tool is panning, similar to what the Adobe 
viewer pan tool doese?  For large SVG content, panning can be slow 
otherwise.  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 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] Panning

2005-02-25 Thread Pete d'Oronzio

 I want the SVG to move as I drag the mouse, similar to the 
 Adobe viewer pan tool, but I want the svg to be clipped at 
 the viewbox edges until the mouseup event.  The adobe viewer 
 clips around the edges until mouse up, making it very fast 
 when moving the SVG around.

I think that the Adobe viewer is panning by moving a raster image around
until you mouse up.  When you mouse up, then it modifies the DOM and
refreshes the image.  I don't think there's any clipping being done, it's
just that there's no (rendered) image around the edges to show.

That said, I don't know how you could tell the Adobe viewer to do that.
Though... If it's in your own app, (as opposed to a browser) you probably
have access to that raster image yourself.  You could move the raster image
around yourself and then tell Adobe to refresh when you're done.

hth

-pete

 
 [EMAIL PROTECTED] wrote:
 
 You asked how to keep it from refreshing svg until mouse up 
 event.  The 
 svg doesn't change anything on its own, you do it in script.  If you 
 don't want anything to change until mouse up, then do your 
 modifications to the SVG on the mouseup event.
 
 It sounds like maybe your doing a click and drag method of panning.  
 Why don't you just store the clientx/clienty in a variable on 
 mousedown, and hold them there until mouse up, then you can 
 calculate 
 the distance dragged and update your svg onmouseup event.
 
 --KG
 
 -Original Message-
 From: Rerun [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 25, 2005 2:09 PM
 To: svg-developers@yahoogroups.com
 Subject: [svg-developers] Panning
 
 
 Maybe I should rephrase my question.  Is there a way to 
 freeze the SVG 
 while my home-made panning tool is panning, similar to what 
 the Adobe 
 viewer pan tool doese?  For large SVG content, panning can be slow 
 otherwise.  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 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/
 





RE: [svg-developers] Panning

2005-02-25 Thread kgordon

I wonder what effect appending a clip path around the svg would have?
Maybe it would increase the performance?

-Original Message-
From: Pete d'Oronzio [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 25, 2005 2:45 PM
To: svg-developers@yahoogroups.com
Subject: RE: [svg-developers] Panning


 I want the SVG to move as I drag the mouse, similar to the 
 Adobe viewer pan tool, but I want the svg to be clipped at 
 the viewbox edges until the mouseup event.  The adobe viewer 
 clips around the edges until mouse up, making it very fast 
 when moving the SVG around.

I think that the Adobe viewer is panning by moving a raster image around
until you mouse up.  When you mouse up, then it modifies the DOM and
refreshes the image.  I don't think there's any clipping being done,
it's
just that there's no (rendered) image around the edges to show.

That said, I don't know how you could tell the Adobe viewer to do that.
Though... If it's in your own app, (as opposed to a browser) you
probably
have access to that raster image yourself.  You could move the raster
image
around yourself and then tell Adobe to refresh when you're done.

hth

-pete

 
 [EMAIL PROTECTED] wrote:
 
 You asked how to keep it from refreshing svg until mouse up 
 event.  The 
 svg doesn't change anything on its own, you do it in script.  If you 
 don't want anything to change until mouse up, then do your 
 modifications to the SVG on the mouseup event.
 
 It sounds like maybe your doing a click and drag method of panning.  
 Why don't you just store the clientx/clienty in a variable on 
 mousedown, and hold them there until mouse up, then you can 
 calculate 
 the distance dragged and update your svg onmouseup event.
 
 --KG
 
 -Original Message-
 From: Rerun [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 25, 2005 2:09 PM
 To: svg-developers@yahoogroups.com
 Subject: [svg-developers] Panning
 
 
 Maybe I should rephrase my question.  Is there a way to 
 freeze the SVG 
 while my home-made panning tool is panning, similar to what 
 the Adobe 
 viewer pan tool doese?  For large SVG content, panning can be slow 
 otherwise.  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/
 





Re: [svg-developers] Panning

2005-02-25 Thread Rerun

I thought about clipping, but that seems complicated.  I also thought 
about the raster idea.  This begs the question, can an svg, within 
viewbox only, be converted to a raster on mousedown?  If it can, the 
rest is easy.

[EMAIL PROTECTED] wrote:

I wonder what effect appending a clip path around the svg would have?
Maybe it would increase the performance?

-Original Message-
From: Pete d'Oronzio [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 25, 2005 2:45 PM
To: svg-developers@yahoogroups.com
Subject: RE: [svg-developers] Panning


  

I want the SVG to move as I drag the mouse, similar to the 
Adobe viewer pan tool, but I want the svg to be clipped at 
the viewbox edges until the mouseup event.  The adobe viewer 
clips around the edges until mouse up, making it very fast 
when moving the SVG around.



I think that the Adobe viewer is panning by moving a raster image around
until you mouse up.  When you mouse up, then it modifies the DOM and
refreshes the image.  I don't think there's any clipping being done,
it's
just that there's no (rendered) image around the edges to show.

That said, I don't know how you could tell the Adobe viewer to do that.
Though... If it's in your own app, (as opposed to a browser) you
probably
have access to that raster image yourself.  You could move the raster
image
around yourself and then tell Adobe to refresh when you're done.

hth

-pete

  

[EMAIL PROTECTED] wrote:



You asked how to keep it from refreshing svg until mouse up 
  

event.  The 


svg doesn't change anything on its own, you do it in script.  If you 
don't want anything to change until mouse up, then do your 
modifications to the SVG on the mouseup event.

It sounds like maybe your doing a click and drag method of panning.  
Why don't you just store the clientx/clienty in a variable on 
mousedown, and hold them there until mouse up, then you can 
  

calculate 


the distance dragged and update your svg onmouseup event.

--KG

-Original Message-
From: Rerun [mailto:[EMAIL PROTECTED]
Sent: Friday, February 25, 2005 2:09 PM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Panning


Maybe I should rephrase my question.  Is there a way to 
  

freeze the SVG 


while my home-made panning tool is panning, similar to what 
  

the Adobe 


viewer pan tool doese?  For large SVG content, panning can be slow 
otherwise.  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 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] Panning

2005-02-25 Thread Pete d'Oronzio

 I thought about clipping, but that seems complicated.  I also 
 thought about the raster idea.  This begs the question, can 
 an svg, within viewbox only, be converted to a raster on 
 mousedown?  If it can, the rest is easy.

Question: If you're running in a browser, using the Adobe viewer... Why
write your own pan routine?

If you're not in a browser, but using the control as an ActiveX, getting the
raster image wouldn't be too tough...



-
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] Panning

2005-02-25 Thread Rerun

The Adobe viewer doesn't allow me to create buttons for zoom and pan, 
and I also want to be able to reset my viewbox as I'm zooming and 
panning.  I create maps dynamically out of a database depending on scale.

Pete d'Oronzio wrote:

I thought about clipping, but that seems complicated.  I also 
thought about the raster idea.  This begs the question, can 
an svg, within viewbox only, be converted to a raster on 
mousedown?  If it can, the rest is easy.



Question: If you're running in a browser, using the Adobe viewer... Why
write your own pan routine?

If you're not in a browser, but using the control as an ActiveX, getting the
raster image wouldn't be too tough...



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





Re: [svg-developers] SVG Fonts

2005-02-25 Thread Thomas DeWeese

sunburned_surveyor wrote:

 Can anyone recommend a good tutorial/article on this subject?

   Nothing comes to mind, in general a SVG font is just more geometry
with a funny coordinate system and stuff.

 Are there any open source repositories or libraries for SVG fonts. Is
 there any interest in creating one?

The Batik toolkit now includes two SVG fonts (I won't claim
that they are anything great but they are there).  You can also
take just about any existing open source TrueType font and
convert it to SVG using the Batik ttf2svg converter.

I think that in general it makes the most sense to built an open
source repository of Fonts (SVG or otherwise) but there are already
projects for that.  Then using tools like Batik or Font Forge
you can convert fonts into SVG (so you don't need your clients
to install them).

The one exception to this would be to do something like a
really cool illuminated font.  Unlike most font tech that is
limited to BW with SVG you can use the full power of SVG for
each glyph (multiple colors, gradients, complex strokes, etc).
This would enable really elaborate fonts that couldn't be
created in most other font systems.


-
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] Save SVG as PNG file?

2005-02-25 Thread tbone58x


I am using Windows 2000 and need to save the output of SVG content as
a PNG file.  What is the best tool to do something like this?





-
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] read text from a file and draw it on the SVG dynamically

2005-02-25 Thread solomoonor


Hi, anyone got idea how to read a text value from a file and draw it
on the svg? I just know how to change the attributes but don't know
how to get the text from the file. I've read the document and try to
find out how to do it, but just don't understand -_-||





-
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: Re: Message

2005-02-25 Thread dean

See the attached file for details.


[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] call JS function from html ?

2005-02-25 Thread Alex Ost.


Hi,

It is easy to call a JS function defined in HTML from embedded SVG
But, how do I do it when the function is defined in SVG and the call 
should be from the html side or even from other frame?

Help will be gratitude.

10x in advanced 

 





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