- From: James Pritchard <pritchard.james@virgin.net>
- Date: Thu, 31 Dec 1998 12:46:58 -0000
- To: "'www-html@w3.org'" <www-html@w3.org>
As a web developer and intranet manager I believe we need a way of drawing
vector images. I also think that a simple solution would be to use the way
you define client side image maps.
I've included a sample page. Please comment on this idea.
James Pritchard
<HTML>
<HEAD>
<TITLE>Example of vector image application</TITLE>
</HEAD>
<BODY>
<H1>Example Vector Image</H1>
<VECTOR NAME="VectorImg1" WIDTH="200" HEIGHT="200" BORDER="1"
BORDERWIDTH="3" BORDERCOLOR="#AAAAFF">
<SHAPE TYPE="RECT" COORDS="0,0,200,200" LINE="#FF0000" FILL="0">
(This creates a transparent box around the edge)
<SHAPE TYPE="CIRC" COORDS="100,100,40" LINE="#00FF00" FILL="1"
FILLCOLOR="#00FF66"> (This creates a filled circle with center
(100,100) and a radius of 40)
<SHAPE TYPE="OVAL" COORDS="100,100,20,50" LINE="#0000FF" FILL="1"
FILLCOLOR="#7700FF"> (This creates a oval with a center of (100,100) and
a horizontal radius of 20 and a vertical radius of 50)
<SHAPE TYPE="POLY" COORDS="0,0,10,30,70,10" LINE="#FF00FF" FILL="0">
(This polygon has it's points at (0,0) (10,30) (70,10) this type would
always create closed polygon by connecting the last point to the first)
<SHAPE TYPE="LINE" COORDS="45,20,80,10" LINE="#FFFF00"> (This
draws a line from (45,20) to (80,10) there is no fill element because it is
an open shape)
</VECTOR>
</BODY>
</HTML>
Received on Thursday, 31 December 1998 07:55:01 UTC