CG: linking two views at different zoom levels
CG: linking two views at different zoom levels
- Subject: CG: linking two views at different zoom levels
- From: "Reaves, Timothy" <email@hidden>
- Date: Sat, 27 Nov 2010 17:12:03 -0500
I have two views: one displays an image created with CG calls, and in the
second one I would like to show a zoomed in version of the same image,
centered around where the user has tapped. I am using
UIGestureRecognizerDelegate to get the pan gesture, and draw into the second
view with the new zoom level. And this works. What I don't know how to do
is to have the center of the second view coincide with the tap on the first
view.
Someone pointed me at code that does this for bit mapped CG contexts, but
this is using vectors with a default context.
Any pointers?
_______________________________________________
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