Apple iPhone forums iPhoneFans.com  

Go Back   Apple iPhone forums iPhoneFans.com > iPhone Software > iPhone Development

                   
Reply
 
LinkBack Thread Tools Display Modes
Old 03-04-2009, 02:09 AM   #1
Junior Member
 
Join Date: Mar 2009
Posts: 1
iPhone Drawing Question

I am new to IPhone SDK development.

I created a circle with CGContextAddEllipseInRect() and It is working fine.
I have some other view (ball) which I want to move inside the circle randomly (Random moving I did already).
What I want is , If Ball view touches the circle line it has to move back.

How can I know the whether the ball touches the circle line or not ?

I searched a lot on the net but no luck ?

Thank You,
Ravi,
ravi124 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacked iPhone question zordani iPhone Newbies 2 02-04-2009 08:33 AM
Newbie question regarding the iphone 3G streather iPhone Newbies 2 01-17-2009 12:49 PM
Very urgent iphone question ! xmissdi0r General iPhone Discussion 2 10-27-2008 01:09 AM
Question About Iphone Plans xSNOWCAT Wireless Carriers 1 02-13-2008 01:07 PM
IPHONE Screen question... smokeytl General iPhone Discussion 3 07-24-2007 02:14 AM


All times are GMT -8. The time now is 02:52 PM.


The entire contents of this Web site, unless otherwise noted, are Copyright © 2010 iPhoneFans.com. All Rights Reserved.
Reproduction in whole or in part in any form without consent from iPhoneFans.com is prohibited.
tm and © for all products, characters, and indicia related thereto which are contained herein are owned by the companies who market or license those products.
This Web site is not endorsed, sponsored, nor otherwise affiliated with Apple, Inc or Cisco Systems, Inc.
It has been created for the sole purpose of entertainment and knowledge.