image_viewer: Add pinch event support (#47351)

This change implements pinch / magnification gesture handling.

This uses the following wayland
[protocol](https://wayland.app/protocols/pointer-gestures-unstable-v1).
And the following
[API](https://developer.apple.com/documentation/appkit/nsevent/magnification)
for mac.

- Original: https://github.com/gpui-ce/gpui-ce/pull/11

Release Notes:

- Zooming works with pinching in and out inside Image Viewer
ac2f097559MostlyK committed on 3/11/2026, 5:12:48 PM· committed by GitHubparentf713373
7 files changedLine totals unavailable