Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-25 Thread Sannyasin Brahmanathaswami
Bernd Thanks for the patience in clarifying all this. I think the dictionary could really use some kind of commenting system. What you are saying here is really important both for future docs as well as possible changes in the terms used in the IDE. But.. here it is buried deep in the

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-25 Thread BNig
Hi, a "regular polygon" is not a "polygon" which is confusing. a "polygon" is the type of graphic made of points whereas a "regular polygon" has no points and are IIRC drawn by the operating system, that is why they are smooth. Mark Wieder introduced the "effective points" of any of "rectangle,

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Sannyasin Brahmanathaswami
Thanks every one for all the great answers/ideas. That said, @Mark… docs may need clarification 1) create 'regular polygon graphic" with 4 sides 2) name it "trapezoid" 3) make button "set the editMode of grc "trapezoid" to polygon result: nothing happens at all, no change, no option to add

Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Alejandro Tejada
Maybe this could be useful: on mouseUp lock screen create grc set the style of it to polygon set the points of it to "3,0,0,10,10,10,7,0,3,0" -- a very small figure set the rect of it to "0,0,200,100" -- enlarge the figure set the loc of it to the screenloc -- position

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Paul Hibbert
> On Nov 24, 2016, at 11:57 AM, Sannyasin Brahmanathaswami > wrote: > > Question: is there a way to close the polygon path? It does appear to be > closed by default, but I can't actually get the last point of the last line > to snap-connect to the first point of starting

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Roger Guay
I don’t know about you, but I got tired trying to figure out how to use the editMode of a polygon in Version 8, so I built what I think you need here: https://www.dropbox.com/s/bbsfkorg9vm32um/PolywHandles.livecode?dl=0

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Mark Waddingham
Check out the editMode property of graphic objects. Warmest regards, Mark. Sent from my iPhone > On 24 Nov 2016, at 04:44, Sannyasin Brahmanathaswami wrote: > > I want to be able to draw an adjustable trapezoid in Livecode. > > The regular polygon tool set to 4 sides

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-24 Thread Sannyasin Brahmanathaswami
The good news: Right click on the Polygon then choose 'Reshape Polygon' and the points that you require should appear. :-) BR: confirmed.. that works. Now the bad news: Sadly this also revealed the ghost trails seen before when you start to drag the points around. :-( BR:

Re: Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-23 Thread Paul Hibbert
> On Nov 23, 2016, at 8:44 PM, Sannyasin Brahmanathaswami > wrote: > > is this even doable? The good news: Right click on the Polygon then choose 'Reshape Polygon' and the points that you require should appear. :-) Now the bad news: Sadly this also revealed the ghost

Draw an adjustable Trapezoid in Livecode - How to change x, y of the 4 corner points of a rect

2016-11-23 Thread Sannyasin Brahmanathaswami
I want to be able to draw an adjustable trapezoid in Livecode. The regular polygon tool set to 4 sides doesn't allow you to grab any given Similarly, the polygon graphic also doesn't provide grab points for corners of a rect that you can drag and adjust Is this just impossible? or am I