Re: the points of graphic

2014-01-19 Thread Michael Kristensen
hi Jim Where can one use the code? I put it in a button in alejandros stack and get errors. I have never seen the To Poly syntax before I ditto the challenge given to you before. Michael This script will provide the individual points. on mouseUp put the width of this card/2 into

Re: the points of graphic

2014-01-19 Thread Jim Hurley
frivolous, frivolous but fun, like shattering a circle and reforming the bits and pieces into a rectangle. Jim Message: 10 Date: Sat, 18 Jan 2014 11:20:02 -0500 From: Roger Eller roger.e.el...@sealedair.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: the points of graphic

Re: the points of graphic

2014-01-19 Thread Roger Eller
On Sun, Jan 19, 2014 at 12:09 PM, Jim Hurley wrote: Hi Roger, Praying on my ego are you? Um, yes. :) I don't really think I am up to this challenge. I'm not quite sure what is needed. Well, I guess Adobe is in no danger of a LiveCode application competitor then. /joke I would love

Re: the points of graphic

2014-01-19 Thread Jim Hurley
Thanks, Klaus, and sorry Michael. I forgot. I have sine and cosine functions in the stack script: function sine tAngle return sin(tAngle /180*pi) end sine Similarly for the cosine. Jim Hi Michael, Am 19.01.2014 um 16:41 schrieb Michael Kristensen michael-kristensen at dsa-net.dk :

Re: the points of graphic

2014-01-18 Thread Roger Eller
Nice!!! Thank you! ~Roger On Jan 18, 2014 2:12 AM, Alejandro Tejada capellan2...@gmail.com wrote: Hi jvb, Take a look at this stack and use code that you find useful: http://andregarzia.on-rev.com/alejandro/stacks/regularPolygon_Tool_v2.zip Screenshot of the stack:

Re: the points of graphic

2014-01-18 Thread Jim Hurley
Message: 2 Date: Fri, 17 Jan 2014 16:00:43 +0200 From: j...@souslelogo.com To: use-revolut...@lists.runrev.com Subject: the points of graphic Message-ID: b058292c0d6ba33b59b2906da17e9271.squirrel@185.8.104.234 Content-Type: text/plain;charset=iso-8859-1 Hi list, Is there a way to

Re: the points of graphic

2014-01-18 Thread Roger Eller
Jim (aka Mr. graphics wizard), Here's a challenge for you: Create the outline of an odd geometric shape using several of the existing tools (an L shape, but with round ends, by using circles). Then, with math wizard code, trace the outer overall shape into the points of a single new polygon.

Re: the points of graphic

2014-01-17 Thread Mark Schonewille
Hi jbv, I don't think there is an easy way to get the points of a regular polygon. If you are going to do calculations, you might as well calculate the points for the shape you want and use these for an (irregular) polygon. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and

Re: the points of graphic

2014-01-17 Thread Craig Newman
There is a thread on this in the forums. Only freehand graphics, lines and polylines have points. Regular polygons and even rectangles do not. I made a feature request for this. But the forum thread addresses this thoroughly, including workarounds from Hermann and others Craig Sent from my

Re: the points of graphic

2014-01-17 Thread Alejandro Tejada
Hi jvb, Take a look at this stack and use code that you find useful: http://andregarzia.on-rev.com/alejandro/stacks/regularPolygon_Tool_v2.zip Screenshot of the stack: https://dl.dropboxusercontent.com/u/3834621/LiveCode_regularPolygonToolv2.jpg Have a nice weekend! :-) Al -- View this