[svg-developers] Need help in zooming and panning of inline SVG..

2011-02-01 Thread cs02433
i have a SVG which is inline in a html document(not in a object or embed 
tag).
i want to provide zooming and panning support for it.

i am using SVG translate and scale to zoom and pan.

// code snippet 
var k = root.createSVGMatrix().translate(p.x, p.y).scale(z).translate(-p.x, 
-p.y);
setCTM(g, g.getCTM().multiply(k));

but it is not zooming from mouse position rather it is shifting the svg in one 
direction.

does anyone have better way of zooming an inline SVG.

Thanks,
Mukesh







-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

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



[svg-developers] Re: Safari 3.2.1 with ASV 3.0 won't View Source

2011-02-01 Thread Kenneth N
To close the loop on this, back in December 2008 I did write a Webkit Bugzilla 
report and just today I got the word that they fixed the bug, 25 months later!
https://bugs.webkit.org/show_bug.cgi?id=14242
I haven't downloaded the lastest nightly build yet, so haven't confirmed it.
—Ken Nellis

--- In svg-developers@yahoogroups.com, Kenneth Nellis nellisks@... wrote:

 Thanx to Andreas and Frank for their helpful responses and apologies  
 for my second post appealing for help on the same subject.
 
 Frank, I followed up on your idea that applying font-size directly as  
 text element attributes rather than in style attributes. This  
 worked to a point: I could control the text size in Safari down to  
 0.3pt (if I recall correctly), but this was still too big, but if I  
 made the size any smaller, Safari would ignore my specification and  
 generate the huge text.
 
 Andreas, your JavaScript solution is creative—and works in all  
 browsers I tested, even Mac/IE 5.2.3—but I think it points out that  
 the real solution is for the program that generates these SVG files  
 to specify the coordinates on a higher-resolution grid so that I can  
 specify font-size in a higher unit count. Do you think this is worthy  
 of a Webkit Bugzilla report?
 
 —Ken







-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

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



[svg-developers] Re: Preliminary information on SVG Open 2011

2011-02-01 Thread Jon Frost
Several of the 2010 SVG talks were really well done.  The sound of the 
speakers was a little soft in several of the videos, but its great 
nonetheless.

I have been seeing the Tegrity presentation/lecture software used more 
of late (http://www.tegrity.com/) and this software does an excellent 
job of matching the slides to the lecture with bookmarks to enable 
linking directly to specific topics/chapters within the lecture(s).
http://apollo.tegrityonline.com/tegrityUtils/InstructorViewer.aspx?directLink=1startTime=0currSessionGUID=923b5994-e20d-4f5f-a948-f921158ea8a6httpSessionKey=e235048f-eb86-4205-b19a-20f0fc53d8c7

I am not sure which browsers Tegrity support though.  I wanted to 
recommend that for this next conference we look into the possibility of 
using Tegrity or a similar tool.  Suggestions on other lecture software? 
  Andi N., are you in contact with the River Valley folks?

Thanks,
  Jon





-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

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



[svg-developers] Re: Preliminary information on SVG Open 2011

2011-02-01 Thread Jon Frost
Several of the 2010 SVG talks were really well done.  The sound of the 
speakers was a little soft in several of the videos, but its great 
nonetheless.

I have been seeing the Tegrity presentation/lecture software used more 
of late (http://www.tegrity.com/) and this software does an excellent 
job of matching the slides to the lecture with bookmarks to enable 
linking directly to specific topics/chapters within the lecture(s).

I am not sure which browsers Tegrity support though.  I wanted to 
recommend that for this next conference we look into the possibility of 
using Tegrity or a similar tool.  Suggestions on other lecture software? 
  Andi N., are you in contact with the River Valley folks?

Thanks,
  Jon





-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

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