converting rects between coordinate systems
converting rects between coordinate systems
- Subject: converting rects between coordinate systems
- From: email@hidden
- Date: Wed, 4 Jun 2003 17:35:25 -0400
I need to be able to convert the size of a frame of a subview to its
final size as represented in a superview. Since the bounds of the
superview is generally much larger than that of the subview, the
resulting image of the subview is scaled down. The width of this scaled
down version is what is important. I have tried the NS View methods:
convertRect:fromView:
convertRect:toView:
convertSize:fromView:
convertSize:toView
but they down take scaling into account. I'm probably missing something
simple, so please clue me in. Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.