Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2
<HTML>
3
<HEAD>
4
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
5
<LINK REL="Start" HREF="index.html">
6
<LINK REL="Contents" HREF="toc.html">
7
<LINK REL="Prev" HREF="65HowdoesStrokeCSIMwork.html">
8
<LINK REL="Next" HREF="67Imagemapsandthecachesystem.html">
9
<STYLE TYPE="text/css"><!--
10
BODY { font-family: serif }
11
H1 { font-family: sans-serif }
12
H2 { font-family: sans-serif }
13
H3 { font-family: sans-serif }
14
H4 { font-family: sans-serif }
15
H5 { font-family: sans-serif }
16
H6 { font-family: sans-serif }
17
SUB { font-size: smaller }
18
SUP { font-size: smaller }
19
PRE { font-family: monospace }
20
A { text-decoration: none }
21
--></STYLE>
22
</HEAD>
23
<BODY>
24
<A HREF="toc.html">Contents</A>
25
<A HREF="65HowdoesStrokeCSIMwork.html">Previous</A>
26
<A HREF="67Imagemapsandthecachesystem.html">Next</A>
27
<HR NOSHADE>
28
<H2><A NAME="6_6">6.6 Getting hold of the image map</A></H2>
29
<P> In the case where you want to store the image on disk and later use
30
 it in an img-tag you need to get hold of the image map. For this you
31
 will have to use the function <A href="../ref/Graph.html#_GRAPH_GETHTMLIMAGEMAP">
32
 Graph::GetHTMLImageMap()</A></P>
33
<P> An example of the use of this is shown below. With these lines the
34
 image will be written to a file. The script then returns a HTML page
35
 which contains the Client side image map and an img-tag which will
36
 retrieve the previously stored file.<DIV class="phpscript"><CODE><FONT color="#000000">
37
 <FONT color="#0000BB">&nbsp;$graph</FONT><FONT color="#007700">-&gt;</FONT><FONT
38
color="#0000BB">Stroke</FONT><FONT color="#007700">(</FONT><FONT color="#DD0000">
39
&quot;/usr/local/httpd/htdocs/img/image001.png&quot;</FONT><FONT color="#007700">
40
);
41
<BR>echo&nbsp;</FONT><FONT color="#0000BB">$graph</FONT><FONT color="#007700">
42
-&gt;</FONT><FONT color="#0000BB">GetHTMLImageMap</FONT><FONT color="#007700">
43
(</FONT><FONT color="#DD0000">&quot;myimagemap001&quot;</FONT><FONT color="#007700">
44
);
45
<BR>echo&nbsp;</FONT><FONT color="#DD0000">
46
&quot;&lt;img&nbsp;src=\&quot;img/image001.png\&quot;&nbsp;ISMAP&nbsp;USEMAP=\&quot;#myimagemap001\&quot;&nbsp;border=0&gt;&quot;
47
</FONT><FONT color="#007700">;</FONT><FONT color="#0000BB"></FONT></FONT>
48
</CODE></DIV></P>
49
<P></P>
50
<P></P>
51
<HR NOSHADE>
52
<A HREF="toc.html">Contents</A>
53
<A HREF="65HowdoesStrokeCSIMwork.html">Previous</A>
54
<A HREF="67Imagemapsandthecachesystem.html">Next</A>
55
</BODY>
56
</HTML>