Issue #303 fix, missing method in NSBezierPath header

This commit is contained in:
Christopher Lloyd 2009-06-17 02:13:50 +00:00
parent 4df4344abb
commit fad6a1efdc
2 changed files with 3 additions and 1 deletions

View File

@ -63,6 +63,8 @@ typedef enum {
+(NSBezierPath *)bezierPath;
+(NSBezierPath *)bezierPathWithOvalInRect:(NSRect)rect;
+(NSBezierPath *)bezierPathWithRect:(NSRect)rect;
+(NSBezierPath *)bezierPathWithRoundedRect:(NSRect)rect xRadius:(CGFloat)xRadius yRadius:(CGFloat)yRadius;
+(float)defaultLineWidth;
+(float)defaultMiterLimit;

View File

@ -94,7 +94,7 @@ static NSLineJoinStyle _defaultLineJoinStyle=NSMiterLineJoinStyle;
}
+ (NSBezierPath *)bezierPathWithRoundedRect:(NSRect)rect xRadius:(CGFloat)xRadius yRadius:(CGFloat)yRadius {
+(NSBezierPath *)bezierPathWithRoundedRect:(NSRect)rect xRadius:(CGFloat)xRadius yRadius:(CGFloat)yRadius {
NSBezierPath *result=[[[self alloc] init] autorelease];
[result appendBezierPathWithRoundedRect:rect xRadius:xRadius yRadius:yRadius];