Pointer plumbing for a drag. Capture, a start point, deltas against it, and one end path for release and cancel.
These docs need JavaScript and WebAssembly. This page is also plain markdown: Drag as markdown.