Reference

XDrawSegments(3) on Linux

The text 58f9643c5148, as Debian 8 (Jessie) shipped it.

draw lines, polygons, and line structure

XDrawSegments(3) on Linux now