Implemented cam_get_line_offset