Something that would work but might not look the nicest is just have two 
large images. One that has one diagnal line from top left to bottom 
right and one with a line from rop right to bottom left. Just pick which 
one you want and then strectch the image

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