Re: Bounding Rectangle [and data type Rect]
Re: Bounding Rectangle [and data type Rect]
- Subject: Re: Bounding Rectangle [and data type Rect]
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 29 Jul 2002 07:56:43 -0700
On 7/29/02 3:53 AM, "Shane Stanley" <email@hidden> wrote:
>
On 29/7/02 6:44 PM +1000, Paul Berkowitz, email@hidden, wrote:
>
>
> 'bounds' are properties of quite a lot of objects there, and I
>
> wanted to make sure i had the ordering right, and to check whether it's four
>
> separate integers in one list or two pairs of two-member lists, etc.
>
>
Keep in mind that bounds doesn't have to be {x1, y1, x2, y2}; in at least
>
two apps it's {y1, x1, y2, x2}. And there's no reason for it to be a pair of
>
lists because it only coincides with the coordinates of corner points when
>
the rectangle is not rotated; if the rectangle is rotated, bounds generally
>
refers to an imaginary unrotated rectangle that fully encloses the item.
Thanks, Shane. Just out of interest (and, assuming that it does not result
from an Australian perspective nor standing on your head), do the two apps
who define bounds as {y1, x1, y2, x2} say anything about this being a
'bounding rectangle', or do they have another way of referring to their
idiosyncratic version? That is, I appreciate that bounds might be defined in
a number of different ways, but is 'bounding rectangle' always {x1, y1, x2,
y2}?
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.