Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > PtInRegion vs. Quartz

PtInRegion vs. Quartz
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2004
Location: Richmond, VA
Status: Offline
Reply With Quote
Apr 21, 2004, 12:25 PM
 
I am migrating some inherited Quickdraw code over to Quartz, and I am
trying to figure out what to do with the old 'hit testing' code.
That legacy code used the PtInRegion function to make some decisions
on whether graphic objects were being 'hit'.

As the new drawing code (most of which consists of bezier curves
for this application) consists of Quartz calls, I am trying to
figure if I should try to simulate the creation of regions or
if there are some easier Quartz services that can help me out.

Anyone out there who can help out with hit-testing in Quartz?

Thanks
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:10 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2