• 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: Help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help!


  • Subject: Re: Help!
  • From: "John C. Randolph" <email@hidden>
  • Date: Thu, 27 Sep 2001 14:35:21 -0700

On Sunday, January 4, 1970, at 03:16 PM, email@hidden wrote:

does anybody know what the values in the parentheses represent?
NSMakeRect(0,0,0,0);

X, Y of the origin, and width, height of the rectangle.

FOUNDATION_STATIC_INLINE NSRect NSMakeRect(float x, float y, float w, float h) {
NSRect r;
r.origin.x = x;
r.origin.y = y;
r.size.width = w;
r.size.height = h;
return r;
}


-jcr

"I fear all we have done is to awaken a sleeping giant and fill him with a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.


  • Prev by Date: Re: Help!
  • Next by Date: NSSocketPort/NSConnections
  • Previous by thread: Re: Help!
  • Next by thread: Re: Help!
  • Index(es):
    • Date
    • Thread