[svg-developers] Re: cross-viewer SVG development and debugging from within the browser
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. one can use the viewPort width instead: if (window.innerWidth) { this.innerWidth = window.innerWidth; this.innerHeight = window.innerHeight; } else { var viewPort = document.documentElement.viewport; this.innerWidth = viewPort.width; this.innerHeight = viewPort.height; } 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. Erik from Opera told me that the px units are only needed for CSS class definitions and style attributes. They aren't needed in presentation attributes. But using style=... is ugly anyway ... Andreas - 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] Problem with IE/ASV WinXP/SP2 and gradient spreadMethod=reflect
Some months ago, I built a little thingy to play with the spreadMethod attribute in gradients. http://srufaculty.sru.edu/david.dailey/svg/spreadMethod.svg It works in Opera 9.0, and IE/ASV with Windows 98 or Windows 2000 (the animation has always been a bit screwy in Firefox, though at least a spreadMethod displays). But for some reason Windows XP with SP2 doesn't seem to like it -- it totally ignores the spreadMethod=reflect part of the gradient. In fact all documents in which I try to use spreadMethod don't seem to like Windows XP/SP2. I seem to recall there were screwy version-issues with Windows and Active X that sometimes bleed into our SVG, but this seems to be of a different flavor. Does anyone see anything I'm missing here? thanks, DD - 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: Problem with IE/ASV WinXP/SP2 and gradient spreadMethod=reflect
--- In svg-developers@yahoogroups.com, ddailey [EMAIL PROTECTED] wrote: Perhaps problem come from ASV 6 beta? This version ignore spreadMethod ... Michel Some months ago, I built a little thingy to play with the spreadMethod attribute in gradients. http://srufaculty.sru.edu/david.dailey/svg/spreadMethod.svg It works in Opera 9.0, and IE/ASV with Windows 98 or Windows 2000 (the animation has always been a bit screwy in Firefox, though at least a spreadMethod displays). But for some reason Windows XP with SP2 doesn't seem to like it -- it totally ignores the spreadMethod=reflect part of the gradient. In fact all documents in which I try to use spreadMethod don't seem to like Windows XP/SP2. I seem to recall there were screwy version-issues with Windows and Active X that sometimes bleed into our SVG, but this seems to be of a different flavor. Does anyone see anything I'm missing here? thanks, DD - 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: Problem with IE/ASV WinXP/SP2 and gradient spreadMethod=reflect
Perhaps problem come from ASV 6 beta? This version ignore spreadMethod ... Michel I'm sure that is it. Thanks Michel.. I was stumped, but then you reminded me I had different versions of the plugin on the different machines. regards, David - 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] problem regarding transform
Hi achio, I believe that you can use transform (matrix). The matrix command allows you to combine all transform commands on a single line. Read about it here: http://www.w3.org/TR/SVG/coords.html#TransformAttribute http://www.w3.org/TR/SVG/coords.html#TransformAttribute :-) -Original Message- From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of achio_84 Sent: Thursday, 27 July 2006 10:52 AM To: svg-developers@yahoogroups.com Subject: [svg-developers] problem regarding transform Hi all... I would like to ask whether it is possible to combine transform (scale) and transform (translate) in 1 javascript statement? For example: shape1.setAttributeNS(null,transform,scale(+scaleLevel+)); shape1.setAttributeNS(null,transform,translate (+positionx+,+positiony+)); Is there a way to combine both statement stated above to become 1 statement? Coz after I scale the shape, and translate it, the scale change to it default value again... I don't know why Regards, achio. Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website. The information contained in this e-mail communication may be proprietary, confidential or legally professionally privileged. It is intended exclusively for the individual or entity to which it is addressed. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Australia Post does not represent, warrant or guarantee the integrity of this e-mail communication has been maintained nor that the communication is free of errors, virus or interference. If you are not the addressee or intended recipient please notify us by replying direct to the sender and then destroy any electronic or paper copy of this message. Any views expressed in this e-mail communication are taken to be those of the individual sender, except where the sender specifically attributes those views to Australia Post and is authorised to do so. [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/