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 09:51:45 -0800
- Feedback-id: 167118m:167118agrif8a:167118sJICHn9NJj:SMTPCORP
On Feb 23, 2016, at 04:28 , Charles Jenkins <email@hidden> wrote:
>
> My scrollview containing an imageview seems to work just fine: I can scale and crop an image with no problem. But I’m having difficulty getting the desired “crop circle” to hover over the scrollview properly.
It’s not clear to me exactly what strategy you’re attempting. I can see at least 4 possibilities:
1. The scroll view is itself a child (or a sibling) of a view that represents the circle.
2. The circle view is a child of the scroll view, but not of its content view.
3. The circle view is a child of the scroll view’s content view, but is a different view from the image view.
4. The circle view and image view are the same custom view, with gestures to pan and scale cause the image to move/resize relative to the circle.
So I’m not sure whether scrolling the scroll view is the UI for positioning the image relative to the circle, or is the UI for scrolling. Similarly, I’m not sure if scaling from the scroll view is the UI for scaling the image relative to the circle, or is just the UI for zooming in.
I’m inclined to think that using the scroll view to position the image relative to the circle isn’t semantically correct, but perhaps that’s not what you’re doing anyway.
_______________________________________________
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