Hi

If you want purely client-based image generation, you could also use
flash. It allows you to draw vector- as well as pixel-based images.
The generated images can then be saved to the computer or sent to a server.
Have a look at the BitmapData and the Graphics Classes
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Graphics.html

A pure JavaScript method could work as well, I'd probably position
multiple pixel-sized dom elements on screen... not very efficient, but
could work.

Best - Roman

Marcin Jakubowski wrote:
> Hello,
> 
> I'm thinking of a way to connect two points with a line but in a 
> compatible way so using qx.ui.embed.Canvas is not an option because it's 
> not supported in IE.
> 
> Right now, my only idea is to have 180 images with a line representing 
> 180 angles and using appropriate one based on calculations on the 
> positions of those two points, then cropping the image so the distance 
> matches.
> 
> As you may imagine, having 180 images is going to be a major problem, 
> not to mention calculations involving trigonometric functions which are 
> expensive. So, can anyone think of a better solution? Is there a way for 
> example to rotate the image? Or maybe some other idea comes to your mind?
> 

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to