Reference

XkbComputeShapeTop(3) on Linux

The text 40c840f7b5aa, as Debian 9 (Stretch) shipped it.

Determines the bounding box of the top surface of a shape

XkbComputeShapeTop(3) on Linux now