• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: hitTest question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: hitTest question
      • From: Brian Christensen <email@hidden>
References: 
 >hitTest question (From: "Eugen Belyakov" <email@hidden>)
 >Re: hitTest question (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Contract Job for Cocoa Developer in Simi Valley CA
  • Next by Date: Re: Dragging an item from my table view onto another app.
  • Previous by thread: Re: hitTest question
  • Next by thread: Re: hitTest question
  • Index(es):
    • Date
    • Thread