• 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
Casting NSRect to CGRect?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Casting NSRect to CGRect?


  • Subject: Casting NSRect to CGRect?
  • From: Pete Carss <email@hidden>
  • Date: Fri, 18 Jan 2002 00:22:07 +0000

I have a DrawRect method in a custom view - which takes an NSRect - as it should. I want to use this data in a CG call that expects a CGRect - I delved into the docs and the structs that define them are the same - is there an easy way to get from one to the other?

Pete


  • Follow-Ups:
    • Re: Casting NSRect to CGRect?
      • From: Andrew Pinski <email@hidden>
    • Re: Casting NSRect to CGRect?
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: NSTableView truncate text
  • Next by Date: Re: Casting NSRect to CGRect?
  • Previous by thread: Re: Wrap NSTableView text
  • Next by thread: Re: Casting NSRect to CGRect?
  • Index(es):
    • Date
    • Thread