473,761 Members | 3,187 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Drawing lines, pixels, circles with DHTML/Ajax/ActiveX

Hello,
I am writing a no-plugin networked Sketchpad program (DHTML,
Comet/Ajax). Because I am trying to avoid using Flash or Java Applet, I
rendered my strokes at first with the wz_jsgraphics library
(http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm). It turned out
that that was too inefficient, and if you drew too many things on the
screen firefox would crash. So I looked into SVG for Firefox. This
works great because it is rendering a vector drawing (instead of many
absolutely positioned div elements). The problem is that IE doesn't
support SVGs.

My question:
Is there something I can use with IE that can draw
lines/pixels/circles/etc. without needing plugins? Any ActiveX stuff I
can do? My goal is to check if the browser supports SVG. If it doesn't,
it will render with Active X, or whatever solution there is for IE.
Anyone know of anything I can look into?

Thanks,
Jason Ho

Oct 9 '06 #1
4 2360

ja********@gmai l.com wrote:

[snip]
Is there something I can use with IE that can draw
lines/pixels/circles/etc. without needing plugins?
[/snip]

Take a look at <url:http://sourceforge.net/projects/excanvas>
And one of the contributors
<url:http://webfx.eae.net/dhtml/chart/demo.htmland
<url:http://me.eae.net/>

Regards

Julian Turner

Oct 9 '06 #2
Julian Turner wrote:
ja********@gmai l.com wrote:

[snip]
>Is there something I can use with IE that can draw
lines/pixels/circles/etc. without needing plugins?
[/snip]

Take a look at <url:http://sourceforge.net/projects/excanvas>
And one of the contributors
<url:http://webfx.eae.net/dhtml/chart/demo.htmland
<url:http://me.eae.net/>

Regards

Julian Turner
That's amazing. Probably the single most useful little gem I've seen in
a while! Thanks for posting that link.

Jeremy
Oct 9 '06 #3
Jeremy wrote on 09 okt 2006 in comp.lang.javas cript:
Julian Turner wrote:
>ja********@gmai l.com wrote:

[snip]
>>Is there something I can use with IE that can draw
lines/pixels/circles/etc. without needing plugins?
[/snip]

Take a look at <url:http://sourceforge.net/projects/excanvas>
And one of the contributors
<url:http://webfx.eae.net/dhtml/chart/demo.htmland
<url:http://me.eae.net/>

That's amazing. Probably the single most useful little gem I've seen in
a while! Thanks for posting that link.
Keeping it simple:

<http://devrijehuisarts .org/test/jsgraph.asp>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Oct 9 '06 #4
VK
That's amazing. Probably the single most useful little gem I've seen in
a while! Thanks for posting that link.

Jeremy wrote:
That's amazing. Probably the single most useful little gem I've seen in
a while! Thanks for posting that link.
For Chris sees it!
Still painting thousands of DIV's do get the desired effect as these
are medieval times still around.

I've realized the state of a "charming innocence" about graphics
capabilities of modern browsers only after a few posts at
<mozilla.dev.te ch.svg>
That is indeed charming up to being upsetting.
Listen guys, you don't have to wait for California to say its word
first: every time you want to move forward. I've got the permission to
reverse-engineer our SVL (Superimposed Vector Language) library (so all
its hacks and workarounds would get visible again) for the public
audience.
IE 5.5 or higher, Firefox 1.5 or higher, Camino 1.0 or higher, Opera
8.0 or higher, Netscape 8.x or higher).
SVL is an interface atop of SVG and VML languages *natively* supported
by the listed browsers. The library (SVL TinyToys) is fully functional
and as simple to use as a fart (deeply sorry).
Yet there are thousands of French purses on my way as usual at this
time of the season (I have to put into db etc) I HATE French purses -
and I'm looking for a volunteer to write a help and samples - with
his/her name written in copyrights' release.
sc**********@ya hoo.com

Oct 9 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
12344
by: Champika Nirosh | last post by:
Hi, I want to create drawing board application that can draw Line, rectagle, circle and free hand drawing. Each drawing need to be transparent, moveable (draggable), have bring to front and send to back feature etc. How can I do this .. where should I start?
8
5651
by: Benoit Martin | last post by:
I had to draw my own control because I couldn't find any control doing what I wanted it to do. This control has a grid that I need to have control over. To do that, I draw each line of the grid using a 1pixel pictureBox. I also need "boxes" to be placed within that grid depending on data pulled from my dataset. I also used pictureBox controls for that. All those components that I use to draw my control are added to the controls collection...
0
1507
by: Ranjit | last post by:
Hi, I would like to know how to place circles in the connecting points of the lines, and very close to the circles I would like to place the values like a,b,c...etc automatically for each connecting point on the line. I meant connecting points like. Here I shall explain my requirements clearly thro' my coding: Private Sub Button1_Click(ByVal sender As System.Object,
7
2132
by: Stefan0 | last post by:
Hi, I'd like to draw a circle on the screen using GDI+ I'm using the DrawEllipse method with width = height and I set the SmootingMode to SmoothingModeAntiAlias but the circle is "squared". Is there a way to draw a "smoothed" circle ? Thanks in advance Stefano
3
2610
by: Chris Saunders | last post by:
I am fairly new to .Net and C# but am familiar with the Win32 API. I wish to set the pixels of the client area of a window one at a time with a specific color. I have so far discovered that System.Drawing.Bitmap has a SetPixel() method but I can't seem to find out how to have the bitmap displayed. I would actually like to have the pixels appear as I set them. Regards Chris Saunders
4
1662
by: Galen Somerville | last post by:
My VB2005 app gets real time Heart sounds and an ECG from a USB device. I'm looking for a way to speed up the drawing of the traces on the screen. In the following code the routine GetSounds recieves the USB data for six consequtive horizontal pixels (or 6 sound/ECG samples). The routine FixChns handles the scaling of the data and puts it into the PlotAry for presentation. The variable RptCnt then handles the placement for the 6 sets...
1
1693
by: Sinem | last post by:
Hello I am making a drawing application where I want the user to be able to draw straight lines (quite similar to the line tool in Flash). I want them to be able to draw these lines at any angle they want but they have to be straight and the lengths can only vary between 4 pixels long and 200 pixels long. (The weight of the lines I want to be 2 pixels). I would be ever so grateful if you could help me out on this, I have flash mx...
15
4031
by: javelin | last post by:
I need to be able to create a javascript based drawing/signature box, and be able to save it. Can someone refer me to a script that will allow this, or even a 3rd party package for sale? It can't be Java or ActiveX. Thank you.
0
9538
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10123
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9909
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9788
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7342
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6623
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3889
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3481
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2765
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.