Re: Re: Rotating an object
Re: Re: Rotating an object
- Subject: Re: Re: Rotating an object
- From: email@hidden
- Date: Mon, 21 Aug 2006 22:23:43 -0700
On 8/21/06, Dan Rodricks <email@hidden> wrote:
I tried to translate an object to the center and rotate it and also
did the rotation against lower left corner. In both the cases I can
see the rotation is applied. But My point is when rotation is done,
object just becomes out of bound, so is partially visible. I guess I
need to calculate here new bounds of the object and then apply those.
But how can I calculate new bounds.
you could calculate the new bounds using basic trigonometry, no?
regards,
jean-pierre
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden