• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Affine transform questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: [NSWorkspace fullPathForApplication:] : Classic forever?
  • Next by Date: Re: WODistributedNotificationIdentifier: 3?
  • Previous by thread: Re: [NSWorkspace fullPathForApplication:] : Classic forever?
  • Next by thread: Focusring drawing
  • Index(es):
    • Date
    • Thread