![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |