Re: Group rotation
Re: Group rotation
- Subject: Re: Group rotation
- From: Gordon Apple <email@hidden>
- Date: Wed, 07 May 2008 15:42:35 -0500
That is effectively what our renderer object does. Note that we
transform the drawing space, not the object. For a group object, it sets
the group's transform, then recursively calls the same rendering function
for the objects in the group. Each object's transform is then applied
within the group's transform space.
> Hmmm...
>
> I'm just talking out loud here, but wouldn't it work to have a group
> model object whose drawing function is to concatenate its transform
> to the CTM then tell all the objects within the group to draw? Then
> all objects inside the group just do their drawing normally.
>
> -Kenny
>
>
_______________________________________________
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