Logo Search packages:      
Sourcecode: inkscape version File versions

PathVector Geom::reverse_paths_and_order ( PathVector const &  path_in  ) 

Reverses all Paths and the order of paths in the vector as well

Definition at line 50 of file pathvector.cpp.

{
    PathVector path_out;
    for (PathVector::const_reverse_iterator it = path_in.rbegin(); it != path_in.rend(); ++it) {
        path_out.push_back( (*it).reverse() );
    }
    return path_out;
}


Generated by  Doxygen 1.6.0   Back to index