Hi, i have used preserveAspectRatio as none in my following example to avoid scaling. But while resizing the canvas in sqiggle, it is also resizing all the SVG elements inside the viewport. But it is not supposed to resize the elements since preserveAspectRatio as none. So can anyone please provide how to stop resizing the elements while resizing the canvas?
<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg width="1500" height="1000" version="1.1" viewBox="0 0 1500 1000" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"> <rect x="0" y="0" width="1500" height="1000" fill="yellow" stroke="blue" stroke-width="12" /> <path fill="red" d="M 750,100 L 250,900 L 1250,900 z"/> <text x="100" y="600" font-size="200" font-family="Verdana" > Stretch to fit </text> </svg> Thanks, Sudhakar -- View this message in context: http://www.nabble.com/preserveAspectRatio-problem-t1589759.html#a4314420 Sent from the Batik - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
