Some background on this-> I'm using a UIScrollview (holding a 10,000x10,000 catiledlayer backed view) and passing it's delegate to a custom overlay view (that is the size of the screen) that will be scaled and moved around depending on the zoom and content offset of the view.
I'm struggling with taming the contentoffset/zoomscale from the didScroll: didZoom: delegates into a CGAffineTransform I can apply to my "overlay" view. Scrolling is pretty straightforward as it's a simple translate. Zooming seems to be the challenge because I have to combine with the current translate as well. Once scrolling/zooming stops I clear the transforms and redraw view (which is the easy part).
(previous question UIScrollView w/ Large CATiledLayer + Overlay that renders fast about best methods for doing this)
So my question: How can i convert the contentoffset & zoomscale into a cgaffinetransform i can apply to another view in order to make it appear that i am pinching/zooming/scrolling the overlay view?