04-30-2004, 05:55 AM
I have two simple polygons A and B and i need to be able to
clip A with B
Thanks in advance
05-28-2004, 06:47 AM
ps. yes this thread is over a month old, but I hate seeing threads with 0 replies.
You may "mime" cropping and clipping using layers, but first you must be able to draw a polygon... To do that, see:
05-29-2004, 10:04 AM
Wow that jsgraphics thing is impressive Kor. Even though that's an amazingly efficient way of doing this with DHTML it still is limited to relatively simple shapes and still probably a hundred times slower then if you were to use Java. If you wanted to use complex or large polygons this would not be appropriate. Anyways, I have some uses for that jsgraphics thing thanks for posting that site Kor.
05-30-2004, 03:43 PM
Just Browsing Aroung After Posting A Thread.
I've Gotta Say, Thats Quite Impressive !
1. a non-vectorial curves (which is infact a HTML work space disadvantege)
2. intricate way of rotate objects (or transform them upon other axes than X or Y).
Many users avoid Java, due to the latest security wekness. Thus, probably the best present way for a high graphical site is using DHTML in combination with Flash.
05-31-2004, 09:35 AM
yes, you might be right. Except that there is a sort of "thermo-dynamics 3-rd law" apllied on connection speed. Java or Flash have a superior speed on final approach, but there is certain time for initial applet to be loaded, which almost compensates for the total time...
In my oppinion, the reason for using Flash or Java for certain applications stands mostly for the vectorial design possibilities, not for speed which, most of the time, is inferior to DHTML application.
But we did not solve ez4ne12c's problem. I said that a DHTML solution would be intricate so, this particular case, a Flash or, if you want it so much, a Java solution would be probably a better one.
05-31-2004, 10:32 AM
Very true, loading time of the applet/flash code and plugin would be a major issue here, that's why we need more information from ez4ne12c in order to see what this is being used for, and exactly what and how he wants to clip B with A.