Reference

XDrawSegments(3) on Linux

The text 48606824c2c0, as Debian 10 (Buster) shipped it.

draw lines, polygons, and line structure

XDrawSegments(3) on Linux now