My understanding of
quartz2d is that the code CGContextTranslateCTM(context, x, y); translates the coordinate system. I have a
quartz2d view with lots of shapes on it, and the user needs to be able to pan around and zoom it. However, when using the CGContextScaleCTM(context, scaleX, scaleY); code, everything scales around the origin, not the
…