Hi all, I have a problem changing the SVG viewbox dynamically (using ecmascript), basically when I change the viewbox aspect ratio any symbols within the picture which have there own viewbox don't zoom correctly, instead they shift and lose scale.
To overcome this problem, I am currently using the viewbox to translate x and y and then currentScale = min(xScale, yScale). This however is flawed and several pictures don't work well. Ideally I would use preserveAspectRatio="yMidxMid meet" and complete the scaling by setting the width and height in the outer viewbox. Has anyone got any ideas how I can either get allow the zoom to occur using master viewbox, or a way I can zoom for both x, and y. Cheers ------------------------------------ ----- 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/ <*> 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: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/