I just create an OSX APP like Preview APP which build by Apple. I use MetalKit and OpenGL to render picture, but I find some problem about coordinate transformation and gesture recognition. After some learning, I can zoom and pan my picture, but I can not zoom my picture by a two-finger center point, and my panning also has some problem.
How to find some demo about picture render by MetalKit
Add a Comment