Revert "SVG: add check if polygon is closed"
This reverts commit 0144c952282a4555b7ab0cfcf9d35bf753e5d8cb.
This commit is contained in:
parent
8b1c57d474
commit
e67cea929c
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user