Merge branch '0.7b' of git@github.com:280north/cappuccino into 0.7b

This commit is contained in:
Tom Robinson committed 2009-05-16 17:37:47 -07:00
commit 113131a2b3
3 files changed
+7 -2

No files matched your search

+1
View File
@@ -24,6 +24,7 @@
@import "CPAlert.j"
@import "CPAnimation.j"
@import "CPApplication.j"
@import "CPBezierPath.j"
@import "CPButton.j"
@import "CPButtonBar.j"
@import "CPCib.j"
+2 -2
View File
@@ -130,8 +130,8 @@ var DefaultLineWidth = 1.0;
CGContextBeginPath(ctx);
CGContextAddPath(ctx, _path);
CGContextSetLineWidth(ctx, [self lineWidth]);
CGContextStrokePath(ctx);
CGContextClosePath(ctx);
CGContextStrokePath(ctx);
}
- (void)fill
@@ -141,8 +141,8 @@ var DefaultLineWidth = 1.0;
CGContextBeginPath(ctx);
CGContextAddPath(ctx, _path);
CGContextSetLineWidth(ctx, [self lineWidth]);
CGContextFillPath(ctx);
CGContextClosePath(ctx);
CGContextFillPath(ctx);
}
- (float)lineWidth
+4
View File
@@ -542,7 +542,9 @@ function CGContextAddEllipseInRect(aContext, aRect)
*/
function CGContextFillEllipseInRect(aContext, aRect)
{
CGContextBeginPath(aContext);
CGContextAddEllipseInRect(aContext, aRect);
CGContextClosePath(aContext);
CGContextFillPath(aContext);
}
@@ -554,7 +556,9 @@ function CGContextFillEllipseInRect(aContext, aRect)
*/
function CGContextStrokeEllipseInRect(aContext, aRect)
{
CGContextBeginPath(aContext);
CGContextAddEllipseInRect(aContext, aRect);
CGContextClosePath(aContext);
CGContextStrokePath(aContext);
}