Closes 702: CPBezierPath stroke calls CGContextClosePath

This commit is contained in:
Stephen Ierodiaconou
2010-12-01 09:45:46 +02:00
parent a51672cc82
commit b46d283dc4
+1 -1
View File
@@ -184,7 +184,6 @@ var DefaultLineWidth = 1.0;
CGContextBeginPath(ctx);
CGContextAddPath(ctx, _path);
CGContextSetLineWidth(ctx, [self lineWidth]);
CGContextClosePath(ctx);
CGContextStrokePath(ctx);
}
@@ -281,6 +280,7 @@ var DefaultLineWidth = 1.0;
{
CGPathAddPath(_path, nil, other._path);
}
/*!
Remove all path elements; clears path.
*/