chainGeoms() and nextGeom() are now static methods

This commit is contained in:
Ian Rees
2016-05-06 23:34:42 +12:00
committed by wmayer
parent 88bc3574aa
commit c6bcfd84ce
3 changed files with 82 additions and 65 deletions

View File

@@ -329,7 +329,7 @@ void QGIViewPart::drawViewPart()
}
//chain edges tail to nose into a closed region
std::vector<TechDrawGeometry::BaseGeom*> chained = TechDrawGeometry::chainGeoms(unChained);
auto chained( TechDrawGeometry::GeometryUtils::chainGeoms(unChained) );
//iterate through the chain to make QPainterPath
std::vector<TechDrawGeometry::BaseGeom*>::iterator itChain = chained.begin();