mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 15:01:01 +01:00
Single demo_view_pinch() handles all three components atomically: - Pan from centroid movement - Zoom around centroid (proven middle-drag math) - Screen-space Z rotation (separate from 3D quaternion) Pinch rotation uses a screen_angle field applied as a post-MVP 2D rotation, keeping it independent from the 3D trackball. Zoom centering works correctly; rotation centering is approximate. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>