mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-23 20:19:40 +00:00
Issue #303 fix, missing method in NSBezierPath header
This commit is contained in:
parent
4df4344abb
commit
fad6a1efdc
@ -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;
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user