I'm working on a small app that displays PDFs in an NSImageView (the same app I was working on in the "excel data into NSTableView thread"). I've been trying to implement a zoom slider or buttons or a magnifying glass tool, and I'm curious as to how Preview handles zooming and panning. Is it adjusting the size of a rect each time the user clicks on a zoom button, then using drawInRect: to scale the image? Anyone know?