Subject: | adding client side image map support (and documentation correction) |
This page correctly adds support for client-side image maps, and modifies the documentation surrounding image maps to clarify differences between the two server-side image map formats.
Thanks for GraphViz.pm!
Cheers,
- Dan Boorstein
--- /usr/lib/perl5/site_perl/5.8.0/GraphViz.pm.orig 2003-02-23 01:56:09.000000000 -0500
+++ /usr/lib/perl5/site_perl/5.8.0/GraphViz.pm 2003-02-23 01:58:06.000000000 -0500
@@ -722,16 +722,23 @@
print $g->as_wbmp;
-=item as_ismap
+=item as_cmap
Returns a string which contains a layed-out HTML client-side image map
format file.
+ print $g->as_cmap;
+
+=item as_ismap
+
+Returns a string which contains a layed-out HTML old style server-side image map
+format file.
+
print $g->as_ismap;
=item as_imap
-Returns a string which contains a layed-out HTML server-side image map
+Returns a string which contains a layed-out HTML new style server-side image map
format file.
print $g->as_imap;
@@ -794,7 +801,7 @@
$name = "as_dot";
}
- if ($name =~ /^as_(ps|hpgl|pcl|mif|pic|gd|gd2|gif|jpeg|png|wbmp|ismap|imap|vrml|vtx|mp|fig|svg|dot|canon|plain)$/) {
+ if ($name =~ /^as_(ps|hpgl|pcl|mif|pic|gd|gd2|gif|jpeg|png|wbmp|cmap|ismap|imap|vrml|vtx|mp|fig|svg|dot|canon|plain)$/) {
my $data = $self->_as_generic('-T' . $1, $self->_as_debug, $output);
return $data;
}