mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-18 14:31:18 +00:00
Closes 702: CPBezierPath stroke calls CGContextClosePath
This commit is contained in:
1 parent
a51672cc82
commit
b46d283dc4
1 file changed
+1
-1
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user