end_path to be the first and last visible path.
Note that there may be invisible paths in between.
Both paths should be freed with free after use.
Return location for start of region
Return location for end of region
true, if valid paths were placed in