Kaydet (Commit) e67cea92 authored tarafından Chr. Rossmanith's avatar Chr. Rossmanith

Revert "SVG: add check if polygon is closed"

This reverts commit 0144c952.
üst 8b1c57d4
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment