On May 25, 2008, at 7:51 PM, Graham Reitz wrote:
I think I am close but don't understand how the coordinate system of
an NSView relates to the NSWindow it resides in.
It looks like the NSView setFrame method will help but I am getting
weird results. Am I on the right track?
thanks,
graham
Without knowing what exactly you mean by weird results, it's possible
you don't have the bounds set right in relation to the frame in which
case the view will be stretched, you should check out:
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaViewsGuide/Coordinates/chapter_3_section_3.html
--Nathan
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]