| <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG December 1999//EN" "http://www.w3.org/Graphics/SVG/SVG-19991203.dtd"> <svg width="400px" height="150px"> <desc>Example xform1Orig - Simple transformations: original picture</desc> <g style="fill:none; stroke:black; stroke-width:3"> <!-- Draw the axes of the original coordinate system --> <line x1="0" y1="1.5" x2="400" y2="1.5" /> <line x1="1.5" y1="0" x2="1.5" y2="150" /> </g> <g> <text x="30" y="30" style="font-size:20 font-family:Verdana"> ABC (orig coord system) </text> </g> </svg> | ![]() |
| ?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG December 1999//EN" "http://www.w3.org/Graphics/SVG/SVG-19991203.dtd"> <svg width="400px" height="150px"> <desc>Example xform1NewCoordSys - New user coordinate system</desc> <g style="fill:none; stroke:black; stroke-width:3"> <!-- Draw the axes of the original coordinate system --> <line x1="0" y1="1.5" x2="400" y2="1.5" /> <line x1="1.5" y1="0" x2="1.5" y2="150" /> </g> <g> <text x="30" y="30" style="font-size:20 font-family:Verdana"> ABC (orig coord system) </text> </g> <!-- Establish a new coordinate system, which is shifted (i.e., translated) from the initial coordinate system by 50 user units along each axis. --> <g transform="translate(50,50)"> <g style="fill:none; stroke:red; stroke-width:3"> <!-- Draw lines of length 50 user units along the axes of the new coordinate system --> <line x1="0" y1="0" x2="50" y2="0" style="stroke:red"/> <line x1="0" y1="0" x2="0" y2="50" /> </g> <text x="30" y="30" style="font-size:20 font-family:Verdana"> ABC (translated coord system) </text> </g> </svg> | ![]() |
|
Didier Courtaud |
18 / 74 |
|