Hi Stelt,
nice stuff !
i just had a quick look at it, here are a few thinks that come to mind:

 >>/* ************ known bugs ********
 >>from http://wiki.svg.org/Cross-Platform_Authoring:
 >>in ASV 3
 >>    * .getScreenCTM() does not work
 >>    * Printing causes the SVG to be distorted. Use iframe with link 
to your SVG
 >>    * http://wiki.svg.org/Known_Bugs :
 >>        with workaround: clearInterval, XML Font selection
 >>        without workaround: No animation events generated by 
dynamically added animateMotion elements, animateTranform - transform 
matrix multiplication sequence, hyperlink not instanced by the use

a workaround for the animateMotion bug is to insert just one 
animateMotion Element to your doc by hand, and then clone this element 
with js, now you can change any attributes on the animateMotion element, 
and events work.

 >>element, Bounding Box calculation with display:none
 >>        probably workaround: printNode, event on object background
 >>in Batik 1.6 / Squiggle
 >>    * window.innerWidth and innerHeight don't work (you can use 
=.getScreenCTM()= for most cases)

use root.width.baseVal.value and root.height.baseVal.value in Batik and 
FireFox, not tested in Opera.

 >>*/

 >>/* ************ implementing parts of SVG that are not yet covered by 
certain viewers ********
 >>add KevLinDev UserCoordinates stuff: 
http://www.kevlindev.com/tutorials/basics/transformations/toUserSpace/transformCursor.svg
 
, change it so viewBox is

i've build a getScreenCTM method for ASV3 , too.( 
http://www.treebuilder.de/svg/svgui/gsc.js )
here is how to use it.
everywhere you call getScreeCTM(), just do:

try{var m=element.getScreenCTM()
}catch(e){
var m=getScreenCTM(element)}
i think it still does not work for nested svg elements, but could be 
easily extended to do so.

 >>force units
 >>Use the "px" unit where this is assumed, for SVG 1.1 meaning on the 
attributes: stroke-width, stroke-dashoffset, font, font-size, 
baseline-shift, kerning, letter-spacing, word-spacing

im not sure what you mean here, but i prefer to use userCoordinates (the 
coordinate system established by viewBox) , because on some 
attribute-values you cant use "px" (i.e.: d attribute), and using 
userCoordinates just keeps all values in the same coordinate System.

i have to think about things to add, i will let you know if i come up 
with something.

cheers
Holger

-- 
if this information was useful, please try to help someone else !
My Private Homepage: http://www.treebuilder.de
My Companys Website: http://www.klimapartner-berlin.de



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

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

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

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

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


Reply via email to