Clipping a group by script

Klaus major-k klaus at major-k.de
Fri Oct 11 12:28:57 EDT 2024


Hi Craig and Bob,

> Am 11.10.2024 um 18:24 schrieb Craig Newman via use-livecode <use-livecode at lists.runrev.com>:
> 
> Bob.
> I do not know why Klaus wants to truncate his groups,

yes, because that is nobodys business but mine! :-D

> but I suspect it has nothing to do with fitting them onto the card.

Exactly.

> Craig
> 
>> On Oct 11, 2024, at 11:44 AM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Hmmm… I wrote a handler to determine the rect of all the visible objects on a card so I can set the stack rect to that plus margins. It involved getting the left, top, right and bottom as seperate values, of every visible object, then determining the min and max of each set of values as needed. You should be able to something similar. 
>> 
>> Bob S

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de




More information about the use-livecode mailing list