Re: UI to allow user to scale and crop image within a circle
Re: UI to allow user to scale and crop image within a circle
- Subject: Re: UI to allow user to scale and crop image within a circle
- From: Quincey Morris <email@hidden>
- Date: Tue, 23 Feb 2016 19:17:46 -0800
- Feedback-id: 167118m:167118agrif8a:167118sJICHn9NJj:SMTPCORP
On Feb 23, 2016, at 18:50 , Charles Jenkins <email@hidden> wrote:
>
> I draw based on the overlay view’s frame, NOT based on the rect that gets passed in to drawRect(). I must not understand what that parameter is for.
From the UIView documentation for ‘drawRect’:
> The portion of the view’s bounds that needs to be updated. The first time your view is drawn, this rectangle is typically the entire visible bounds of your view. However, during subsequent drawing operations, the rectangle may specify only part of your view.
So, yes, your code is right now. :)
_______________________________________________
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