2011-12-08 7 views

答えて

3

NSBezierPathには特別な+bezierPathWithRoundedRect:xRadius:yRadius:がありますので、ドキュメントを確認してください。

NSBezierPath *path = 
    [NSBezierPath bezierPathWithRoundedRect:NSMakeRect(...) 
            xRadius:3.0f 
            yRadius:3.0f]; 
[path fill]; 
関連する問題