HighDots Forums  

Help Drawing Curves or Arcs using HTML

alt.discuss.html alt.discuss.html


Discuss Help Drawing Curves or Arcs using HTML in the alt.discuss.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lloyd
 
Posts: n/a

Default Help Drawing Curves or Arcs using HTML - 08-05-2003 , 01:23 AM






I am trying to draw building sketches using vector directions.
Can you draw a curved line using HTML. If not, do you have any other
suggestions?

Example: D10R5D10BL24O4
Would draw a line Down 10, Right 5, Down10, an arc left 24 curved outward
(O) with an apex of 4.

Are there any experts who can help me?

Lloyd




Reply With Quote
  #2  
Old   
steve stevo
 
Posts: n/a

Default Re: Help Drawing Curves or Arcs using HTML - 08-21-2003 , 07:02 AM






you could also try using vml - but again it is not supported by all
browsers.


"Jens Duttke" <nospam_usenet (AT) digitalcube (DOT) de> wrote

Quote:
hi!

"Lloyd" <sinsitive (AT) aol (DOT) com> schrieb im Newsbeitrag
news:W3HXa.40$8n2.6 (AT) fe03 (DOT) atl2.webusenet.com...

I am trying to draw building sketches using vector directions.
Can you draw a curved line using HTML. If not, do you have any other
suggestions?

Example: D10R5D10BL24O4
Would draw a line Down 10, Right 5, Down10, an arc left 24 curved
outward
(O) with an apex of 4.

You could use SVG, but since you need a extra plugin for it, and not many
people has this plugin installed, it's not a good way.

There is also Flash - that need's a plugin too, but more people have a
Flash-plugin installed, than a SVG-plugin. The bad thing about Flash : it
can't easily "communicate" with your HTML/JavaScript page.

This page show, how to draw on a HTML-page using JavaScript :
http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm
But this doesn't work in all browsers and it doesn't work if JavaScript is
disabled. Also it's damn slow, if you try to draw complex things.

The best way would be, to simply draw a picture of the stuff you want to
show, save it as GIF-Image-File and impliment it in your page using the
img>-Tag.
That's the most compatible, safe and fast way.

Cu, Jens
--
http://www.pixelforge.de





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.