• 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: NSView's origin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSView's origin


  • Subject: Re: NSView's origin
  • From: Shawn Erickson <email@hidden>
  • Date: Sun, 26 Nov 2006 16:20:00 -0800


On Nov 26, 2006, at 9:25 AM, Aaron Boothello wrote:

Hey guys,
I have a view inside a window that i need to resize in real-time. i need to change the view's origin while resizing.....but first i need to figure out the origin of the NSView inside the window. how do i get the current origin of the NSOpenGLView (subclass of NSView) ?

The origin in terms of what? window/screen or view coordinates?

Review the following...

<http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaViewsGuide/Coordinates/chapter_3_section_3.html>

<http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaViewsGuide/WorkingWithAViewHierarchy/chapter_4_section_8.html>

-Shawn
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSView's origin
      • From: Aaron Boothello <email@hidden>
References: 
 >NSView's origin (From: Aaron Boothello <email@hidden>)

  • Prev by Date: Re: Debugging an ignored exception
  • Next by Date: Re: NSView's origin
  • Previous by thread: Re: NSView's origin
  • Next by thread: Re: NSView's origin
  • Index(es):
    • Date
    • Thread