From: kimura w. <ki...@us...> - 2013-03-01 01:51:07
|
Hi, NSBezierPath does not have the method "bezierPathWithRoundedRect:". You need to pass xRadius and yRadius to NSBezierPath. OSX::NSBezierPath.bezierPathWithRoundedRect_xRadius_yRadius(rect, x_radius, y_radius) On Wed, 27 Feb 2013 16:16:07 -0500, Johnny Panella wrote: > Using RubyCocoa I'm unable to use the method bezierPathWithRoundedRect the > counterpart bezierPathWithRect works fine. > > I get this error: > RubyCocoa.framework/Resources/ruby/osx/objc/oc_wrapper.rb:50:in `ocm_send': > Can't get Objective-C method signature for > selector 'bezierPathWithRoundedRect:' of receiver OSX::NSBezierPath > (OSX::OCMessageSendException) > > Thanks -- kimura wataru |