fn emit_markers_for_path<E>(
    path: &Path,
    empty_bbox: BoundingBox,
    emit_fn: &mut E
) -> Result<BoundingBox, InternalRenderingError>