Re: Bounding Rectangle [and data type Rect]
Re: Bounding Rectangle [and data type Rect]
- Subject: Re: Bounding Rectangle [and data type Rect]
- From: email@hidden
- Date: Mon, 29 Jul 2002 04:24:11 EDT
Yes, my bad. It is [x1, y1, x2, y2] in all languages. Sorry...
Or in theory, if pixel "a" has a coordinate location of x1,
y2 and pixel "b" has a coordinate location of x2, y2,
then the rect is formed by pixel "a" at the top left corner
and pixel "b" at the bottom right.
I guess the powers that be figured that anyone delving into
quickdraw far enough to require the rect data type would
know it's concept by virtue that even the most rudimentary
assembler-based programming language (C/C++/Pascal/VIP
Basic/Future Basic) explains the rect as part of the
introduction to programming, as a mandatory concept of
creating a window for your output (or for drawing a box,
including a dialog box).
So, now my question becomes (maybe I didn't read your past
posts in detail enough), why did you suddenly find yourself
in need of the rect data type?
=-= Marc
Marc Wrote:
>
> Bounding Rectangle (X1,X2,Y1,Y2)
Paul Wrote:
>
Except it's given in AppleScript as {X1, Y1, X2, Y2}, yes?
_______________________________________________
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.