def cx2x(cx, e):
    """Transform from *x* index value to *x* index value, using the
    *e.css('cw')* (column width) as column measure."""
    if cx is None:
        x = 0
    else:
        x = e.parent.pl + cx * (e.css('cw', 0) + e.gw)
    return x