Re: NSScreen Issues
Re: NSScreen Issues
- Subject: Re: NSScreen Issues
- From: Kyle Sluder <email@hidden>
- Date: Mon, 28 Sep 2009 00:19:41 -0700
Coordinate systems have their origins at the lower left. It seems you
are not taking your window's height into account. NSWindow has the
-setFrameTopLeftPoint: to help you here.
The Cocoa Drawing Guide has more:
http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaDrawingGuide/Transforms/Transforms.html#//apple_ref/doc/uid/TP40003290-CH204-SW2
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden