Hi,

I have an NSView subclass. I rotated it with -setFrameCenterRotation, and that 
works just fine. 

But now I want to scale it down 50%. If I use NSInsetRect() to shrink it, it 
flies off in a random direction. 

Worse, if I set another view to that view, or use the frame of the rotated view 
for checking intersection with another rectangle, it's always somewhere weird.

I get it though, I realize that this is the same as rotating off the 0,0 
corner. So how do I correctly establish the boundaries of the rotated object?


Thank you,
-Chilton Webb



_______________________________________________

Cocoa-dev mailing list ([email protected])

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]

Reply via email to