Re: hitTest question
Re: hitTest question
- Subject: Re: hitTest question
- From: "Eugen Belyakov" <email@hidden>
- Date: Fri, 20 Jun 2008 21:50:54 +0300
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@hidden<email@hidden>
>:
> On Fri, Jun 20, 2008 at 1:29 PM, Eugen Belyakov
> <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden