Re: NSView's origin
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