Reference

XDrawSegments(3) on Linux

The text 3673b4a64c20, as Debian 13 (Trixie) shipped it.

draw lines, polygons, and line structure

XDrawSegments(3) on Linux now