Drawing rectangles on a grid in a web browser

Posted by Dhruv on Stack Overflow See other posts from Stack Overflow or by Dhruv
Published on 2010-03-11T20:23:48Z Indexed on 2010/03/11 20:34 UTC
Read the original article Hit count: 195

I would like to create an online, simple WYSIWYG drawing editor allowing people to draw rectangular shapes. I'm thinking of a grid which the lines and points can snap on to, ensuring that the lines are strictly vertical or horizontal. I will be parsing the rectangular shapes to obtain some area calculations and compute certain things. How can I achieve the drawing ability? The new canvas tag is good but people have been telling me that IE does not support it. I found some Java applets but I have never programmed in Java before. Is there a way to do this using pure javascript or jquery? Does ASP.NET help at all?

Thanks.

© Stack Overflow or respective owner

Related posts about drawing

Related posts about wysiwyg