Reference

XDrawSegments(3) on Linux

The text 7d35d93da1c0, as Debian 11 (Bullseye) shipped it.

draw lines, polygons, and line structure

XDrawSegments(3) on Linux now