Re: Irregularly Shaped NSView
Re: Irregularly Shaped NSView
- Subject: Re: Irregularly Shaped NSView
- From: email@hidden
- Date: Mon, 2 Jun 2003 21:08:47 -0400
I simply overrode NSView's hitTest: method to check the NSView's
bezierPath with containsPoint:, which makes the desired effect. Thank
you for your help
On Monday, Jun 2, 2003, at 16:55 America/New_York,
email@hidden wrote:
How can I create an NSView that is irregularly shaped? That is, I want
to be able to have two NSViews overlap but remain distinguishable in
handling events through their images.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.