• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bounding Rectangle [and data type Rect]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Bounding Rectangle [and data type Rect]
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: "result" corruption
  • Next by Date: Q: Does someone already have a > hard wrapper?
  • Previous by thread: Re: Bounding Rectangle [and data type Rect]
  • Next by thread: Re: Bounding Rectangle [and data type Rect]
  • Index(es):
    • Date
    • Thread