Editing points of a polygon?

Richard Gaskin ambassador at fourthworld.com
Wed Jun 8 19:02:47 EDT 2005


Sarah Reichelt wrote:
>> Is there an easy way to edit/relocate points that define a polygon?  
>> BESIDES- changing the H,V numeric locations in the object  inspector? 
>> I'm hopeful that I'm just not aware of Rev's ability to  do what 
>> Powerpoint allows (Draw > Edit Points).
>>
> Hi Steve,
> 
> I have successfully done this through scripts. The numeric locations  
> shown in the inspector are "the points" of the graphic, so you can  set 
> these to whatever you want using a script.
> 
> e.g. to draw a square in the top left corner of the stack...
> 
> set the points of grc "MySquare" to "0,0" & cr & "0,100" & cr &  
> "100,100" & cr & "100,0" & "0,0"

True and valuable, but the hard part is to edit points _interactively_ 
with the mouse, as proposed in:
<http://support.runrev.com/bugdatabase/show_bug.cgi?id=624>

--
  Richard Gaskin
  Fourth World Media Corporation
  __________________________________________________
  Rev tools and more: http://www.fourthworld.com/rev


More information about the use-livecode mailing list