[jQuery] Re: Polygon

2008-10-22 Thread Sébastien Lachance
I know it seems stupid but the reality of the project is to select a portion of the screen with a polygon. If the portion of the screen needed is a square at an angle (let's say the window of a house), I need to place each point at each corner of the window. On Oct 21, 6:07 pm, ricardobeat

[jQuery] Re: Polygon

2008-10-22 Thread ricardobeat
Oh, sorry, I was talking about myself. Rotation is absolutely plausible :) Unfortunately it seems none of the current plugins support it, but it shouldn't be that difficult to hack something from jCrop using an image map and modify accordingly the server script. Would be impossible to have a

[jQuery] Re: Polygon

2008-10-21 Thread ricardobeat
There is the jCrop plugin, though it's just a rectangle. For a polygon you would need an image map or canvas element, a bit more complicated and no ready-made solution. http://deepliquid.com/content/Jcrop.html - ricardo On Oct 21, 2:32 pm, Sébastien Lachance [EMAIL PROTECTED] wrote: Maybe

[jQuery] Re: Polygon

2008-10-21 Thread ricardobeat
Doh @ me, a rectangle *is* a polygon (and it would be stupid to crop an image with any other shape). Sorry about that! On Oct 21, 8:03 pm, ricardobeat [EMAIL PROTECTED] wrote: There is the jCrop plugin, though it's just a rectangle. For a polygon you would need an image map or canvas element,