title: Is CGLayer a good solution?
body: <p>I want to add a bit of functionality to my App, and I think that using a CGLayer is the best way of doing it, but have never done any Quartz drawing before (other than some basic tutorials).</p>
  
  <p>My intention is to show a full view of an image that my App will draw (basic geometric shapes based on parameters) in the top half of a view, and show a zoomed in portion of that image in the bottom quarter of the view based on where the user has touched the top image. I want the zoomed in portion to show in a high resolution, so am thinking that I should draw the image onto, say, a 640 x 640 CGLayer, then draw that full layer in the top 320 x 320 half of the view (so scaled down to fit), and the relevant portion touched by the user in the bottom left 160 x 160 of the view, but unscaled, so you'd see a quarter of the main image.</p>
  
  <p>When the user moves their finger around the main view, the portion view in the bottom left would be redrawn from the CGLayer, so no new image rendering is taking place, just CGLayer drawing.</p>
  
  <p>Can anyone see any problem with this approach that my inexperienced brain may have missed?</p>
  
  <p>Ta, Jools.</p>