[svg-developers] about SVG & XBL sXBL spec, what's the low-level svg and high-level svg means

2005-02-02 Thread foxcrane100


HI, ALL

a paragraph In svg spec's RCC chapter or sXBL spec :


  
  

what's the "low-level svg and high-level svg" means
and where is the file "rcc-xforms-01-exts.svg"





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

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

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

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





Re: [svg-developers] Re: Performance problem while setAttribute("points") on polyline

2005-02-02 Thread Faisal Javeed

I added crispEdges and optimizeSpeed  to the polyline and the result was 
that time to display around 5000 points was reduced to a fraction of a 
second from 4 - 5 seconds.
About the last point you mentioned
 
  -don't use polylines, use paths with relative stroking (lower case 
letter path commands)

Is path faster and also if i use relative (i.e. Lower case letter commands 
like M 10 10 l 20 30 l 30 20) coordinates will it make the rendering even 
more fast ???.


Regards
Faisal Javeed
INTECH Process Automation Pvt. Ltd.
119-B Tech Society Lahore-54590, Pakistan
Cell:  03334241582
Voice:   +92 42 5427001 (3 lines)
Fax:  +92 42 5411724
Web: www.intechww.com



"welkerpaul" <[EMAIL PROTECTED]> 
02/02/2005 06:52 PM
Please respond to
svg-developers@yahoogroups.com


To
svg-developers@yahoogroups.com
cc

Subject
[svg-developers] Re: Performance problem while setAttribute("points") on 
polyline





You're right,
  the asv rendering engine is dead slow. Try to lower demands on 
viewer:

  -set xxx-rendering="optimizeSpeed", at least shape-
rendering="crispEdges" (probably you'll know already;-)
 
-asv antialiasing is very expensive, set defaultAntialias="false", 
or use .setDefaultAntialias(false) while updating dom and revert 
to .setDefaultAntialias(true) when finished

  -don't use classes for styling, inline attribs should process 
faster (nasty adice;-)

  -don't use polylines, use paths with relative stroking (lower case 
letter path commands)



hth

Paul
--- In svg-developers@yahoogroups.com, Faisal Javeed <[EMAIL PROTECTED]> 
wrote:
> I have a polyline and i have made a string of the format 
> x,y x,y x,y .
> this is quite a long string having a larger number of coordinates. 
Now 
> when i call setAttribute on the points attribute of polyline and 
give this 
> string, the processor takes up to 10 seconds and after 10 seconds 
the 
> polyline can be seen on the screen. (looks like svg plug-in takes 
10 
> seconds to render such a large polyline)
> Is there anyway to make this any faster.
> 
> I am using a p4 with 512 Mb of ram and IE 6.0 with ASV 3.01.
> 
> Regards
> 
> [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. 


[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: embedding SVG file into another SVG file

2005-02-02 Thread e2mieluv


Hi,

I'ved tried embedding it as image,still i dont know how to extract 
the value from the file.

The code i'ved post here, seems like it has to be done using HTML 
files that act as a middle person connecting those two SVG files. I 
have yet to test that method.still in the process of fixing my coding 
regarding my SP.

Cha

--- In svg-developers@yahoogroups.com, Philippe Lhoste <[EMAIL PROTECTED]> 
wrote:
> e2mieluv wrote:
> > please help me to clear up this matter. Is it possible to link 2 
svg
> > file togather to enable 1 svg file to retrieve value from another 
svg
> > file. i'ved found on the net that i could use the script below.
> > however no saying how i should call or include the 2 svg files.
> > the site example battlebots, i was unable to find the source of 
the
> > file to look at it.
> > 
> > var bot = document.embeds["bot"].getSVGDocument(); 
> > bot.getElementById("Help").setAttribute
("style","display:inline;"); 
> > 
> > 
> > Can anyone help me to clarify this?
> > 
> > Thanks,
> > Cha
> 
> Well, here is the file I made to compare an original bitmap to the 
two 
> files made by two different BMP to SVG converters:
> 
> 
> http://www.w3.org/2000/svg"; 
> xmlns:xlink="http://www.w3.org/1999/xlink";>
> 
> 
>  transform="translate(0, 150)"/>
>  transform="translate(0, 300)"/>
> 
> 
> 
> As you see, you just have to declare an image element.
> Now, I don't know yet how to access to the embed Dom, I suppose 
your 
> code fragment gives some hints on this.
> 
> -- 
> Philippe Lhoste
> --  (near) Paris -- France
> --  http://Phi.Lho.free.fr
> --  For servers mangling my From and Reply-To fields,
> --  please send private answers to PhiLho(a)GMX.net
> --  --  --  --  --  --  --  --  --  --  --  --  --  --





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

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

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

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





RE: [svg-developers] Re: Some Problem making the application with SVG

2005-02-02 Thread Chris Peto

Hi,
 
I have a viewBox example at www.resource-solutions.de/svg/viewbox or
www.resource-solutions.de/svg/viewbox_map.
 
Hope this helps.
 
Mit freundlichen Grüßen/Regards
Chris Peto
Freelance System Development, Resource Solutions
Founding Partner, Vectoreal
---
Frankfurt, Germany
Mobile: +49 (0) 173 308 7843
Tel:+49(0) 6103 80 21 98
Web: http://www.resource-solutions.de
 
 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/
Widgets Example:
http://www.resource-solutions.de/cgui_widgets/sliderzoom.svg 

-Original Message-
From: Aashish Singhvi [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 3. Februar 2005 00:58
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Re: Some Problem making the application with
SVG



--- In svg-developers@yahoogroups.com, "comwang77" <[EMAIL PROTECTED]> 
wrote:
> 
...
> 
> My problem is when user move to another position, I want to show 
the some part of map in the center of the user. In other words, 
> the size of map is 1600*1200
> user position is "400,400"
>in this case, I wanna show the region of map as" 200,200" - "600,600"
If user moves to another point, map should be generated automatically
I can show the point of user to svg, but I dont know how to repaint  
the svg map.
> 

Have you tried playing with evt.clientX, Y and the viewBox attribute 
on your SVG map. You can add an event handler on your top svg element 
(onmouseover="chg_view(evt)") and then in the javascript function, 
you can update the viewBox attribute of that svgelement.
Something like:


...


mainsvgele = document.getElementById("MAINSVG");
viewX = 1200;
viewY = 1200;
mainsvgele.setAttribute('viewBox', '0 0 ' + viewX + ' ' + viewY);
consx = viewX/2;
consy = viewY/2;

function chg_view(e)
{   
   clx = evt.clientX();
   cly  = evt.clientY();
   newvb = (clx - consx) + ' ' + (cly - consy) + ' ' + consx + ' ' + 
consy;
   svgele.setAttribute('viewBox', newvb);
   return;
}

..

...


HTH,
Aashish





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




[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: Some Problem making the application with SVG

2005-02-02 Thread Aashish Singhvi


--- In svg-developers@yahoogroups.com, "comwang77" <[EMAIL PROTECTED]> 
wrote:
> 
...
> 
> My problem is when user move to another position, I want to show 
the some part of map in the center of the user. In other words, 
> the size of map is 1600*1200
> user position is "400,400"
>in this case, I wanna show the region of map as" 200,200" - "600,600"
If user moves to another point, map should be generated automatically
I can show the point of user to svg, but I dont know how to repaint  
the svg map.
> 

Have you tried playing with evt.clientX, Y and the viewBox attribute 
on your SVG map. You can add an event handler on your top svg element 
(onmouseover="chg_view(evt)") and then in the javascript function, 
you can update the viewBox attribute of that svgelement.
Something like:


...


mainsvgele = document.getElementById("MAINSVG");
viewX = 1200;
viewY = 1200;
mainsvgele.setAttribute('viewBox', '0 0 ' + viewX + ' ' + viewY);
consx = viewX/2;
consy = viewY/2;

function chg_view(e)
{   
   clx = evt.clientX();
   cly  = evt.clientY();
   newvb = (clx - consx) + ' ' + (cly - consy) + ' ' + consx + ' ' + 
consy;
   svgele.setAttribute('viewBox', newvb);
   return;
}

..

...


HTH,
Aashish





-
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] animate 2 arms

2005-02-02 Thread jilusan


hello,

i would like to animate (for playing) something with 2 arms.

CR1, CR2 are two coordinates system.

i would like that the first arm rotates aroud CR1
the second arm rotates around CR2


  CR1   l1   CR2
  0--0
 |
 |  l2
 |
 0


do you have any idea (example maybe) for doind such thing ?

thanks,

jilu 





-
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] Some help required ...

2005-02-02 Thread Alexander Adam


hey guys,

There're more and more svg beginners starting asking questions at 
the SVG-Cafe, yet a few "experts" are missing there.. so I wanted to 
please a few guys here getting over and maybe answering on or 
another question up there :)

Oh, the url is http://www.svg-cafe.com

thanks!
Alex





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

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

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

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





Re: [svg-developers] Convert pixel based cartoon images into svg?

2005-02-02 Thread Philippe Lhoste

> I would like to know if there is a good way of converting pixel 
> based cartoon images into svg vector graphics? I know with 
> photographs you need high contrasting edges for it to work 
> reasonabally well, but with the cartoon images I have, I can get the 
> inkline edge information pretty well.
> 
> Any pointers will be greatly appreciated.
> 
> Thanks,
> 
> Vidya

http://wiki.svg.org/index.php/OtherImplementations
# Raster images to SVG
# Delineate is an open-source tool that converts bitmap raster images to 
SVG. It supports input formats JPEG, PNG, GIF, BMP, TIFF, PNM, PBM, PGM, 
PPM, IFF, PCD, PSD, RAS. It uses AutoTrace or potrace to do the image 
conversion.
# CR2V can create SVG from raster images (BMP, GIF, JPEG, PNG, TIFF).

poTrace only does black & white images, but is good at that.
AutoTrace does color images.

There are other softwares, but commercial.

-- 
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --


-
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] Save Drawing in mysql 4.1x database

2005-02-02 Thread =?iso-8859-1?Q?Barend_K=F6bben?=

Hi Burkhard,
 
do you mean by 'save my drawing (only polygons) to mysql-database' that you 
want the SVG code for drawing the polygons saved in MySQL tables? In that case, 
where does teh SVG drawing code come from in the first place?
 
Or that you want to generate polygons from the MySQL...?
 
Both are doable, but some more details are needed before I can (try to) help 
you.
 
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 
_ 
 


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



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

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

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

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





[svg-developers] Convert pixel based cartoon images into svg?

2005-02-02 Thread Vidya Setlur


Hi,

I would like to know if there is a good way of converting pixel 
based cartoon images into svg vector graphics? I know with 
photographs you need high contrasting edges for it to work 
reasonabally well, but with the cartoon images I have, I can get the 
inkline edge information pretty well.

Any pointers will be greatly appreciated.

Thanks,

Vidya





-
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: Could I use Apache Batik in Servlets?

2005-02-02 Thread alex_philippi


Thnx for your statement :)
My Servlet will be high dynamic e.g. I draw 100 rects (with content) 
in a "for loop" and I place them with an algorithm (and so i have not 
much code and i could validate the result) :)

An other advantage to use "out" is that I can use javascript for 
tooltips.

And with Graphics2d (I think that) I have to do the same job twice. I 
draw the graphical result in Java (g.paint...) and then I have to 
transcode(?) the java result to my output stream of my servlet.

Baba :)







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

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

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

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





[svg-developers] Re: Performance problem while setAttribute("points") on polyline

2005-02-02 Thread welkerpaul


You're right,
  the asv rendering engine is dead slow. Try to lower demands on 
viewer:

  -set xxx-rendering="optimizeSpeed", at least shape-
rendering="crispEdges" (probably you'll know already;-)
  
-asv antialiasing is very expensive, set defaultAntialias="false", 
or use .setDefaultAntialias(false) while updating dom and revert 
to .setDefaultAntialias(true) when finished

  -don't use classes for styling, inline attribs should process 
faster (nasty adice;-)

  -don't use polylines, use paths with relative stroking (lower case 
letter path commands)



hth

Paul
--- In svg-developers@yahoogroups.com, Faisal Javeed <[EMAIL PROTECTED]> 
wrote:
> I have a polyline and i have made a string of the format 
> x,y x,y x,y .
> this is quite a long string having a larger number of coordinates. 
Now 
> when i call setAttribute on the points attribute of polyline and 
give this 
> string, the processor takes up to 10 seconds and after 10 seconds 
the 
> polyline can be seen on the screen. (looks like svg plug-in takes 
10 
> seconds to render such a large polyline)
> Is there anyway to make this any faster.
> 
> I am using a p4 with 512 Mb of ram and IE 6.0 with ASV 3.01.
> 
> Regards
> 
> [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] Save Drawing in mysql 4.1x database

2005-02-02 Thread Burkhard Stollenwerk

Hello,

I wish to save my drawing (only polygons) to mysql-database.
Could anyone help me?

Friendly greeting

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:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: Could I use Apache Batik in Servlets?

2005-02-02 Thread Thomas DeWeese

alex_philippi wrote:
> 
> --- In svg-developers@yahoogroups.com, Thomas DeWeese wrote:

>>Sure check out:  http://xml.apache.org/batik/svggen.html
>>
>>It gives an overview of the SVGGraphics2D with sample code.
> 
> Thnx a lot. Now I know that i will use batik only for create pdf or 
> image files and code the rest manually because I dont use in a
> servlet the graphic classes (e.g. drawrect). Perhaps I could use 
> the DOM Model for my Project but the output stream of a servlet 
> seems to be the better solution(e.g. below).

 For simple projects println is a fine solution, the learning
curve is tiny,  but the drawback is that there is nothing checking
what you are doing.  By using the SVGGraphics2D when you draw a rect
it makes sure you provide the proper parameters, in other words
it gives you a strongly typed interface (DOM BTW is little better
than println, because everything is still strings, except that
the final XML is machine generated so silly things like missing
quotes, or not using XML entities won't happen).

 The only other advantage of using DOM (or potentially graphics2D)
is that with Batik you can have access to the SVG DOM so you can get
things like the bounding box of elements.  This isn't a big deal
for simple things like lines & boxes, but is _really_ nice for
things like text.

 Also you might want to check out the Batik mailing lists:

http://xml.apache.org/batik/mailList.html

> 
> // set the width and height attribute on the root svg element
> svgRoot.setAttributeNS(null, "width", "400");
> svgRoot.setAttributeNS(null, "height", "450");
> 
> // create the rectangle
> Element rectangle = doc.createElementNS(svgNS, "rect");
> rectangle.setAttributeNS(null, "x", "10");
> rectangle.setAttributeNS(null, "y", "20");
> rectangle.setAttributeNS(null, "width", "100");
> rectangle.setAttributeNS(null, "height", "50");
> rectangle.setAttributeNS(null, "style", "fill:red");
> 
> // attach the rectangle to the svg root element
> svgRoot.appendChild(rectangle);
> 
> 
> 
> PrintWriter out = response.getWriter();
> out.println("
>  red\"/>
> ");
> 


-
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] Some Problem making the application with SVG

2005-02-02 Thread comwang77


I'm on making a application using Microsoft Embedded Visual C++.
My application is for applying the guidance to users using pda.
So I use the svg file format for the map.

My problem is when user move to another position, I want to show the 
some part of map in the center of the user.
 In other words, 
the size of map is 1600*1200
user position is "400,400"

in this case, I wanna show the region of map as" 200,200" - "600,600"

If user moves to another point, map should be generated automatically

I can show the point of user to svg, but I dont know how to repaint 
the svg map.

Please help me..





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

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

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

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





[svg-developers] Re: Performance problem

2005-02-02 Thread slavaraitsin


> Try using the internal the ASV javascript engine as it is based on 
mozilla's
> js...It will be interesting to hear if there is any improvement.
> 
> http://wiki.svg.org/index.php/AsvJavaScriptEngine

I did it testing on IE ASV engine works (removeChild) even sligtly 
slower than internal IE javascript engine.

Slava





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

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

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

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





[svg-developers] Performance problem while setAttribute("points") on polyline

2005-02-02 Thread Faisal Javeed

I have a polyline and i have made a string of the format 
x,y x,y x,y .
this is quite a long string having a larger number of coordinates. Now 
when i call setAttribute on the points attribute of polyline and give this 
string, the processor takes up to 10 seconds and after 10 seconds the 
polyline can be seen on the screen. (looks like svg plug-in takes 10 
seconds to render such a large polyline)
Is there anyway to make this any faster.

I am using a p4 with 512 Mb of ram and IE 6.0 with ASV 3.01.

Regards

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

2005-02-02 Thread Peter Schonefeld

>>I am planning to test in Mozilla SVG enable version to see if I have
the same issue when not using a plugin.<<

Try using the internal the ASV javascript engine as it is based on mozilla's
js...It will be interesting to hear if there is any improvement.

http://wiki.svg.org/index.php/AsvJavaScriptEngine

Pete



-
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: Anyone knows about "scale(0)"???

2005-02-02 Thread Jim Ley


"Mario Vernari" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>Maybe I didn't explain well...if you type "scale(0)" you DON'T obtain a
>zero-scaled image, but the image at its original size...exactly as you were
>typed "scale(1)"...
>As "image" I mean anything inside the container "g" being scaled...
>I was expecting that the X- and Y-size would be multiplied by zero, so that
>the image will be totally invisible.
>That's not...

Ah, sorry, I misread in my quick reading of your question before.  I believe 
you have a bug in ASV, I agree it should have 0 size.

As a workaround could you try using the transform="matrix(0 0 0 0 0 0)" and 
animate that to 1 0 0 0 1 0) ?

I'm not sure what else to suggest, it pretty much seems like a bug unless 
someone else has an explanation?

Jim. 





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

2005-02-02 Thread Slava Raitsin

Hi,
 
Can you let me know how it is done on Mozilla?
 
Thanks

ggb2g <[EMAIL PROTECTED]> wrote:

--- In svg-developers@yahoogroups.com, "slavaraitsin"
<[EMAIL PROTECTED]> wrote:
> 
> Hi,
> I'm working on a rather big project using SVG as rendering engine.
> We are facing mayor performance problems when using removeChild java 
> script method to remove or replace a subtree of the SVG DOM.
> Depending on the number of child nodes the removeChild method gets 
> really slow. We have a subtree with ~8000 child nodes. Removing it 
> with removeChild take more than 90 seconds on a P4 1.7 Ghz with 1GB 
> RAM
> We also tried using replaceChild but same problem.
> Does anybody have the same problems ? Any solution or workaround ???
> 
> Thank a lot for your help...
> 
> Slava
Hi,
I just want to confirm your problem! I have the same one using Adobe
plugin. addChild is working fast but removeChild is extremly slow and
hang the browser, sometime we can believe the browser has crached.
I am planning to test in Mozilla SVG enable version to see if I have
the same issue when not using a plugin.





-
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! Search presents - Jib Jab's 'Second Term'

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