I need to implement custom visual component system in OpenGL. And I want to use hitTest-like behavior ( with rotated frame rectangles and so on) to determine component under cursor. Could anyone with knowledge of how -hitTest works point me in the right direction?
2008/6/20 Kyle Sluder <[EMAIL PROTECTED]<[EMAIL PROTECTED]> >: > On Fri, Jun 20, 2008 at 1:29 PM, Eugen Belyakov > <[EMAIL PROTECTED]> wrote: > > Somebody knows how NSView's hitTest method works internally? > > This is not the question you mean to ask. The question you want to > ask is one or more of the following: > 1) I need to implement X, kind of like what -hitTest does. > [Explanation of X here.] Could anyone with knowledge of how -hitTest > works point me in the right direction? > 2) I am having a problem using -hitTest. [Snippet of your code.] Can > anyone spot what I might be doing wrong? > 3) What does -hitTest do? I have read the documentation, looked at > sample code, searched the mailing list archives, and done a web > search, but I am still confused. > 4) I think I have found a bug/performance problem in -hitTest. Here > is the output of Shark or Instruments that seems to indicate this is > the case. Has anyone experienced this problem before? > > --Kyle Sluder > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]