Affine transform questions
Affine transform questions
- Subject: Affine transform questions
- From: John Timmer <email@hidden>
- Date: Wed, 12 May 2004 10:29:23 -0400
Two questions, one of which arises simply because I haven't had a math class
since 1987 (forgive me, for I am a biologist).
1. If I apply an Affine transform to a view using concat in its "drawRect:"
method, all the subviews within it are not subject to the transform. Is
there any way to ensure that subviews pick up the same effects other than
looping through them and apply it individually?
2. My sense is that, since the transforms are stored as a matrix, applying
multiple transforms of the same type (ie, multiple scalings) would still
result in a single scaling computation, rather than each scale being applied
individually. Thus, there's no reason to concat the invert of the last
scale before applying a new one. Is this correct?
Thanks for any insights -
JT
_______________________________________________
This mind intentionally left blank
_______________________________________________
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.