Lines Matching refs:SVG
197 --web Generate SVG and display
204 --svg Generate SVG to stdout
404 "svg!" => \$main::opt_svg,
632 my $tmp = TempName($main::next_tmpfile, "svg");
776 # OS X: open will use standard preference for SVG files.
974 RunWeb(TempName($main::next_tmpfile, "svg"));
1038 On OS X, change the Finder association for SVG files.
2072 # We need to post-process the SVG, so write to a temporary file always.
2073 my $escaped_outfile = ShellEscape(TempName($main::next_tmpfile, "svg"));
2214 # SVG output treats line widths < 1 poorly.
2243 # Rewrite SVG to be more usable inside web browser.
2244 RewriteSvg(TempName($main::next_tmpfile, "svg"));
2253 open(SVG, $svgfile) || die "open temp svg: $!";
2254 my @svg = <SVG>;
2255 close(SVG);
2257 my $svg = join('', @svg);
2259 # Dot's SVG output is
2261 # <svg width="___" height="___"
2266 # </svg>
2270 # <svg width="100%" height="100%"
2278 # </svg>
2281 $svg =~ s/(?s)<svg width="[^"]+" height="[^"]+"(.*?)viewBox="[^"]+"/<svg width="100%" height="100%"$1/;
2286 $svg =~ s/<g id="graph\d"/$svg_javascript$viewport$&/;
2288 # Insert final </g> above </svg>.
2289 $svg =~ s/(.*)(<\/svg>)/$1<\/g>$2/;
2290 $svg =~ s/<g id="graph\d"(.*?)/<g id="viewport"$1/;
2293 # --svg: write to standard output.
2294 print $svg;
2297 open(SVG, ">$svgfile") || die "open $svgfile: $!";
2298 print SVG $svg;
2299 close(SVG);
2307 // http://www.cyberz.org/blog/2009/12/08/svgpan-a-javascript-svg-panzoomdrag-library/
2315 * the library into any SVG adds the following capabilities:
2380 //"onmouseout" : "handleMouseUp(evt)", // Decomment this to stop the pan functionality when dragging out of the SVG element
2388 var g = svgDoc.getElementById("svg");
2506 if(true || evt.target.tagName == "svg") {