Revert "SVG: add check if polygon is closed"
This reverts commit 0144c95228
.
This commit is contained in:
@@ -767,10 +767,6 @@ namespace basegfx
|
||||
|
||||
if(aCurrPoly.count())
|
||||
{
|
||||
const B2DPoint aFirstPoint(aCurrPoly.getB2DPoint(0));
|
||||
const B2DPoint aLastPoint(aCurrPoly.getB2DPoint(aCurrPoly.count()-1));
|
||||
if ( (aFirstPoint.getX()-aLastPoint.getX())*(aFirstPoint.getX()-aLastPoint.getX()) +
|
||||
(aFirstPoint.getY()-aLastPoint.getY())*(aFirstPoint.getY()-aLastPoint.getY()) < 1 ) bIsClosed = true;
|
||||
// end-process last poly
|
||||
if(bIsClosed)
|
||||
{
|
||||
|
Reference in New Issue
Block a user